fune/testing/web-platform/tests/css/css-pseudo
Rune Lillesveen 454c57d2e6 Bug 1480059 [wpt PR 12253] - Don't re-attach ::first-letter during style recalc., a=testonly
Automatic update from web-platform-testsDon't re-attach ::first-letter during style recalc.

Update (create or destroy) the FirstLetterPseudoElement and its style
at the point where the block level element's layout sub-tree is up-to-
date. This means we will always attach the layout tree for the
::first-letter element in Element::AttachLayoutTree, but the pseudo
element and its style may be created/updated at style recalc time,
layout tree rebuild time, or layout tree attachment time depending on
when we know what will be the LayoutText from which we will format the
first letter if any.

UpdateFirstLetterPseudoElement is split out from UpdatePseudoElement to
make the code easier to read as the former case has some exceptional
cases.

We no longer use the pseudo style cache for ::first-letter as we will
now compute the style only once per pass with the correct inheritance
parent.

Bug: 847218
Change-Id: I7a1e2a60122891fa38998ff85e566bec0a38b513
Reviewed-on: https://chromium-review.googlesource.com/1155591
Reviewed-by: Anders Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581320}

--

wpt-commits: 3dd27ccc5876d3ad06ccce491da49b477d623621
wpt-pr: 12253
2018-08-14 16:45:12 +00:00
..
first-letter-001-ref.html
first-letter-001.html
first-letter-002.html
first-letter-003.html
first-letter-004-ref.html
first-letter-004.html
first-letter-and-sibling-display-change.html Bug 1480059 [wpt PR 12253] - Don't re-attach ::first-letter during style recalc., a=testonly 2018-08-14 16:45:12 +00:00
first-letter-block-to-inline-ref.html
first-letter-block-to-inline.html
first-letter-opacity-float-001-ref.html Bug 1476821 [wpt PR 12060] - Disable kerning for css/css-pseudo/first-letter-opacity-float-001.html, a=testonly 2018-07-29 18:51:23 +01:00
first-letter-opacity-float-001.html Bug 1476821 [wpt PR 12060] - Disable kerning for css/css-pseudo/first-letter-opacity-float-001.html, a=testonly 2018-07-29 18:51:23 +01:00
first-letter-property-whitelist.html
first-line-and-placeholder-ref.html
first-line-and-placeholder.html
idlharness.html Bug 1474316 [wpt PR 11854] - Update the css-pseudo IDL test, a=testonly 2018-08-08 12:09:47 +00:00
marker-and-other-pseudo-elements-ref.html
marker-and-other-pseudo-elements.html
marker-color-ref.html
marker-color.html
marker-font-properties-ref.html
marker-font-properties.html
marker-inherit-line-height-ref.html Bug 1477459 [wpt PR 8822] - Add tests for where list-style-position: inside is odd today, a=testonly 2018-07-29 18:56:00 +01:00
marker-inherit-line-height.html Bug 1477459 [wpt PR 8822] - Add tests for where list-style-position: inside is odd today, a=testonly 2018-07-29 18:56:00 +01:00
marker-inherit-values-ref.html
marker-inherit-values.html
META.yml Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
placeholder-input-number-notref.html
placeholder-input-number.html