[Squad] Make pseudo element creation not rely on layout tree.
- Base layout parent computed style on traversing the DOM instead of the layout tree. - Moved top layer check for ::backdrop to CanGeneratePseudoElement(). - Moved CanHaveGeneratedChildren() to layout tree building. This means we may generate pseudo elements which may not generate boxes for their pseudo elements, but the boxes will still not be created. First-letter is still relying on layout objects. Will address that later. Bug: 836126 Change-Id: I4f283a09db597bc44d1b32d1007b4aa65e83f2e0 Reviewed-on: https://chromium-review.googlesource.com/1092692Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#565668}
Showing
Please register or sign in to comment