зеркало из https://github.com/mozilla/gecko-dev.git
fbcb130e34
Prior to this patch, we failed to honor: * margin-left on elements in inline layout with 0 width and 0 height * margin-right on elements in inline layout with 0 width I think that was because the code in CanPlaceFrame to discard both margins when the width was 0 was running after the left-margin was applied, unless the later code in PlaceFrame (checking both width 0 and height 0) un-applied that left margin. The assertion count change in test_value_computation.html is due to 2 additional "bad width" assertions (I presume from honoring large margins that were previously ignored). The change to 538935-1-ref.html is to match an improvement in rendering of the margins in the test, where both sides of the margin are now honored. The change to layout/reftests/text-overflow/marker-basic-ref.html is to keep the reference (which uses margins) rendering the same way following the changes to margin handling. The new behavior (in the reftests added in layout/reftests/inline/) matches at least Chromium; I didn't check any other browsers. |
||
---|---|---|
.. | ||
TestEllipsisFallback.woff | ||
aligned-baseline-ref.html | ||
aligned-baseline.html | ||
anonymous-block-ref.html | ||
anonymous-block.html | ||
atomic-under-marker-ref.html | ||
atomic-under-marker.html | ||
bidi-simple-ref.html | ||
bidi-simple-scrolled-ref.html | ||
bidi-simple-scrolled.html | ||
bidi-simple.html | ||
block-padding-ref.html | ||
block-padding.html | ||
clipped-elements-ref.html | ||
clipped-elements.html | ||
ellipsis-font-fallback-ref.html | ||
ellipsis-font-fallback.html | ||
false-marker-overlap-ref.html | ||
false-marker-overlap.html | ||
line-clipping-ref.html | ||
line-clipping.html | ||
marker-basic-ref.html | ||
marker-basic.html | ||
marker-shadow-ref.html | ||
marker-shadow.html | ||
marker-string-ref.html | ||
marker-string.html | ||
quirks-decorations-ref.html | ||
quirks-decorations.html | ||
quirks-line-height-ref.html | ||
quirks-line-height.html | ||
reftest.list | ||
scroll-rounding-ref.html | ||
scroll-rounding.html | ||
selection-ref.html | ||
selection.html | ||
single-value-ref.html | ||
single-value.html | ||
standards-decorations-ref.html | ||
standards-decorations.html | ||
standards-line-height-ref.html | ||
standards-line-height.html | ||
table-cell-ref.html | ||
table-cell.html | ||
theme-overflow-ref.html | ||
theme-overflow.html | ||
two-value-syntax-ref.html | ||
two-value-syntax.html | ||
visibility-hidden-ref.html | ||
visibility-hidden.html | ||
xulscroll-ref.html | ||
xulscroll.html |