gecko-dev/layout
Boris Zbarsky a5f876dcd4 Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio
This doesn't actually implement style context reparenting in the style set yet; that part is next.

There is one behavior difference being introduced here compared to Gecko: we
don't reparent the first block piece of an {ib} (block-inside-inline) split
whose first inline piece is being reparented.  This is actually a correctness
fix.  In this testcase:

  <style>
    #target { color: green; }
    #target::first-line { color: red; }
  </style>
  <div id="target">
    <span>
      <div>This should be green</div>
    </span>
  </div>

Gecko makes the text red, while every other browser makes it green.

We're preserving Gecko's behavior for out-of-flows in first-line so far, but
arguably it's wrong per spec and doesn't match other browsers either.  We can
look into changing it later.

MozReview-Commit-ID: 5eC6G449Mlh

--HG--
extra : rebase_source : 8c333a0afe96c68a4e3b6aeca1b742ef8d5edd3b
2017-07-28 21:11:18 -04:00
..
base Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio 2017-07-28 21:11:18 -04:00
build Bug 1384162 part 3 - Move document container setting into nsContentDLF::CreateBlankDocument before adding any nodes. r=bz 2017-07-26 20:02:58 +10:00
doc
forms Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
generic Bug 1324619 part 2. Stop unnecessarily trying to reparent the style contexts of our kids in nsFirstLetterFrame::SetInitialChildList. r=emilio 2017-07-28 21:11:18 -04:00
inspector merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-07-22 11:38:42 +02:00
ipc Bug 1384181 - Build WebRenderLayerScrollData instances for remote layer trees. r=jrmuizel 2017-07-26 14:47:48 -04:00
mathml Bug 1383634: Remove usage of GetParentAllowServo in mathml code. r=xidorn 2017-07-24 10:11:41 +02:00
media
painting merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
printing Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
reftests Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio 2017-07-28 21:11:18 -04:00
style Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio 2017-07-28 21:11:18 -04:00
svg Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron 2017-07-27 18:57:32 -07:00
tables Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
tools merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
xul Backed out changeset 4e1a1565e417 (bug 1007283) for causing 1385079 a=bustage 2017-07-28 14:28:17 -07:00
moz.build