Граф коммитов

7087 Коммитов

Автор SHA1 Сообщение Дата
cku fd94212fce Bug 1319667 - Part 3. Test case for mask longhands on svg element. r=mstange
MozReview-Commit-ID: HF1NiNPfzQs

--HG--
extra : rebase_source : 16ad8f6db362520c7e6ecf949d8a7ed99877b3d5
2016-11-23 14:02:07 +08:00
Ting-Yu Lin ece375de5b Bug 1316549 Part 3 - Fix <shape-box> with border-radius in writing-mode. r=dbaron
The tests cases are designed based on the integer solution to the ellipse
equation (x/a)^2 + (y/b)^2 = 1, where x=36, y=32, a=60, b=40.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : a64f490ff41c020b84025266c0c255d93a158eea
2016-11-14 18:11:45 +08:00
Ting-Yu Lin 111246d956 Bug 1316549 Part 2 - Fix assertion failure: aRadiusY > 0 in FloatInfo::XInterceptAtY(). r=dbaron
We need to consider the case when only one of the four corner radius is
specified. The two reftests are added to test 'border-top-right-radius' and
'border-bottom-right-radius', respectively.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : 51da04a7a7d60d580b46d9ac8ed4bfd7e9666766
2016-11-14 18:11:45 +08:00
Botond Ballo b32f766ad0 Bug 1319892 - Turn the reftest for bug 735857 into a web platform reftest. r=mstange
MozReview-Commit-ID: FTnk8t72Wb9

--HG--
extra : rebase_source : 45f84bb4894b76715659aa1e077ae13a8d6fe269
2016-11-23 15:39:27 -05:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Mike Conley 708db40f5d Bug 418833 - Bump fuzzyness on ua-style-sheet-checkbox-radio-1 reftest for Android. r=jrmuizel
I talked to mstange about this, and what might be happening here is that there's
a difference in rounding going on during (I think) rasterization. The change is
very small and not human-noticable, so I think taking this fuzzyness is worth
the cost considering the gain in functionality.

MozReview-Commit-ID: C0CPNrIdCDu

--HG--
extra : rebase_source : 1101651250d5593ee84c661d9b91c8c6edb7c531
2016-11-18 11:55:53 -05:00
Carsten "Tomcat" Book 59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Lee Salzman 2b779e5359 Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-21 13:17:09 -05:00
Lee Salzman 3d2a652e53 Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-21 13:16:59 -05:00
cku 03916132bb Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.

And add a test case to verify it.

MozReview-Commit-ID: DHl6krJ1ABF

--HG--
extra : rebase_source : 46d653d4e35833e3e816d252ce3f08d2d8190602
2016-11-18 22:06:51 +08:00
cku f1ae46cbdd Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : d25e8ab2bc0bc3efad78a04705c9aef40119f91f
2016-11-16 12:59:52 +08:00
Phil Ringnalda 7ab6adac90 Backed out 3 changesets (bug 1314536) for Android "'Pair' does not name a type" build bustage
Backed out changeset 16632b726b19 (bug 1314536)
Backed out changeset 2effc920decf (bug 1314536)
Backed out changeset b0aa89236bb2 (bug 1314536)
2016-11-18 18:48:49 -08:00
cku 5eb153c021 Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.

And add a test case to verify it.

MozReview-Commit-ID: DHl6krJ1ABF

--HG--
extra : rebase_source : a4e23896a84c5dd1b5df9c6e8505a2b32ee17b84
2016-11-18 22:06:51 +08:00
cku eee760be28 Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : 129dc2d6abf5911ba42b459db20cfb54b83dfc0c
2016-11-16 12:59:52 +08:00
Phil Ringnalda fb56c153d3 Bug 1067360 - also disable test-image-layers-multiple-displayitem.html, for starting to fail as soon as the prior test, test-image-layers.html, was disabled 2016-11-17 23:06:37 -08:00
Phil Ringnalda 8c9133d4c6 Bug 1067360 - disable layout/reftests/invalidation/test-image-layers.html for constant failures, a=nnoyance 2016-11-17 21:24:58 -08:00
Carsten "Tomcat" Book 17a7875e17 Merge mozilla-central to autoland 2016-11-17 14:46:26 +01:00
Carsten "Tomcat" Book e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Phil Ringnalda 150481a1d0 Merge m-c to m-i
MozReview-Commit-ID: qtLxGnxKfu
2016-11-16 20:43:27 -08:00
Phil Ringnalda 62db1c9021 Mark 346774-1c.html as fuzzy as well, similar to the other reftests marked as such in bug 725119, a=whac-a-mole 2016-11-16 20:35:48 -08:00
Jeremy Chen 086d94490c Bug 1295788 - Remove layout.css.display-contents.enabled pref.
1. Remove the preference setting in reftest.list
2. Remove the preference guard in property_database.js
3. Remove the callback function of preference change
4. Remove the preference from all.js

MozReview-Commit-ID: 6aqYmhz6c9M
2016-11-17 10:52:51 +08:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Phil Ringnalda b4becab6dc Merge m-c to autoland 2016-11-16 20:42:26 -08:00
Ting-Yu Lin 55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Botond Ballo cdbef9ee0c Bug 1316101 - Avoid excessive clamping in StickyScrollContainer::GetScrollRanges(). r=mstange
Excessive clamping can cause incorrect behaviour in the presence of negative
margins.

MozReview-Commit-ID: AkQEqcQpAxx

--HG--
extra : rebase_source : 33cde31c15608792299a1dbef475e0fe0936270d
2016-11-14 19:01:37 -05:00
cku 1be66f55e2 Bug 1313898 - Part 5. SVG-mask/clip-path invalidation reftest. r=mstange
clip-path-invalidation-1a.html/mask-invalidation-2a.html:
  Verify the rendering result of changing scale transform of masked/clipped
  element on LAYER_INACTIVE path.
clip-path-invalidation-1b.html/mask-invalidation-2b.html:
  Verify the rendering result of changing scale transform of masked/clipped
  element on LAYER_ACTIVE path.
clip-path-invalidation-1c.html/mask-invalidation-2c.html:
  Verify the rendering result of changing the content of mask/clipPath element
  on LAYER_INACTIVE path.
clip-path-invalidation-1d.html/mask-invalidation-2d.html:
  Verify the rendering result of changing the content of mask/clipPath element
  on LAYER_ACTIVE path.

MozReview-Commit-ID: 1ZFgzAea8T8

--HG--
extra : rebase_source : 6e04c6521db5862595f3051e54d8aa853e6ac9d6
2016-11-15 14:41:19 +08:00
cku 49952e23ce Bug 1313898 - Part 4. Invalidation test for image-mask boxing model. r=mstange
MozReview-Commit-ID: JUQfZOTUDj

--HG--
extra : rebase_source : da9b20d83e0d9d059e4f5d82aa0dcf3e7c8b038c
extra : source : e335acfe14291795bbc570e0d76accddb7830e14
2016-11-09 16:26:44 +08:00
Ehsan Akhgari 6bc448dc7b Mark 346774-1b.html as fuzzy as well, similar to the other reftests marked as such in bug 725119 2016-11-16 13:25:45 -05:00
Ting-Yu Lin 4829a8d951 Bug 1309467 followup - Fix link to versioned css-shapes spec. r=me
Use https://drafts.csswg.org/css-shapes-1/ per bug 1309467 comment 31.

MozReview-Commit-ID: LGErWlbw4qV
2016-11-16 11:57:29 +08:00
Mats Palmgren 99131f1777 Bug 1317351 - Reftest. 2016-11-15 19:31:14 +01:00
Ting-Yu Lin 7a0febcd1b Bug 1309467 Part 5 - Make flow area of <shape-box> values respect border-radius. r=dbaron
In GetFlowArea(), "Shrink our band's height if needed." computation was
moved to the end because we need to pass the unmodified |blockEnd| to
compute LineRight() and LineLeft().

Revamp OutsetBorderRadii() to allow negative margin to reduce the radius,
but not below zero. Also implement the cubic formula required by the spec.
https://drafts.csswg.org/css-shapes/#valdef-shape-box-margin-box

OutsetBorderRadii() is now tailored only for margin-box with border-radius,
so it might no longer be suitable for other scenarios.

MozReview-Commit-ID: HKxW7rp6sIA

--HG--
extra : rebase_source : d416433016304feefc9ed9dcd1c22f7f2f92e27e
2016-10-13 16:28:38 +08:00
Ting-Yu Lin 0bb55f9970 Bug 1309467 Part 4 - Implement <shape-box> values for shape-outside. r=dbaron
Per spec, float positioning and stacking is not affected by defining a float
area with a shape.
https://drafts.csswg.org/css-shapes/#relation-to-box-model-and-float-behavior

So all the call sites of GetFloatAvailableSpace() related to adding a
float are replaced by GetFloatAvailableSpaceForPlacingFloat().

<shape-box> with border-radius will be implemented in next part.

MozReview-Commit-ID: 1RXEeXDhdWo

--HG--
extra : rebase_source : 42cdb0c81b16168e4e30ee2261ceccb562e278cf
2016-10-12 16:06:25 +08:00
Markus Stange 163908bf5a Bug 1315113 - Fix coordinate space confusion in gradient rendering code. r=mattwoodrow
MozReview-Commit-ID: 38Zk9qWNyoX

--HG--
extra : rebase_source : b62a8af0c774846043f7a819debfdb5340402600
2016-11-09 13:53:33 -05:00
Carsten "Tomcat" Book c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Xidorn Quan d114d37233 Bug 1267515 part 3 - Add reftest for nested ruby. r=dholbert
MozReview-Commit-ID: DVlhN3S3Vca

--HG--
extra : rebase_source : 90a9932ec9b312ac2d17e7bccf41d8158bde14b0
2016-11-10 11:05:49 +11:00
Manish Goregaokar d39e71363d Bug 1317092 - Fix metadata for logical-to-physical-mapping-001; r=dbaron
MozReview-Commit-ID: HX65RbpAVRK

--HG--
extra : rebase_source : b801722e1a373a782075f1c046aabe2b83152aec
2016-11-12 16:13:14 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Xidorn Quan 7d3b1f4fdb Bug 1258916 part 8 - Change most uses of 'fn' to 'srcname' to make it clearer. rs=dbaron
MozReview-Commit-ID: HxHRj2He6cw

--HG--
extra : source : 4c340c7a64ac30b4b07c312729e0b6c8db8da7df
2016-11-11 21:35:38 +11:00
Xidorn Quan 0be8f38737 Bug 1258916 part 7 - Use the directory structure from upstream repo for test and reference files. r=dbaron
MozReview-Commit-ID: E9HCyCGMtqp

--HG--
rename : layout/reftests/w3c-css/received/css-conditional-3/background-lime.html => layout/reftests/w3c-css/received/css-conditional-3/reference/background-lime.html
rename : layout/reftests/w3c-css/received/css-multicol-1/multicol-basic-ref.html => layout/reftests/w3c-css/received/css-multicol-1/reference/multicol-basic-ref.html
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-block.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-3.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-3.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-5.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-5.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-6.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-6.xml
rename : layout/reftests/w3c-css/received/css-values-3/200-200-green.html => layout/reftests/w3c-css/received/css-values-3/reference/200-200-green.html
rename : layout/reftests/w3c-css/received/css-values-3/all-green.html => layout/reftests/w3c-css/received/css-values-3/reference/all-green.html
rename : layout/reftests/w3c-css/received/css-values-3/ch-unit-001-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/ch-unit-001-ref.html
rename : layout/reftests/w3c-css/received/css-values-3/vh_not_refreshing_on_chrome-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/vh_not_refreshing_on_chrome-ref.html
rename : layout/reftests/w3c-css/received/css-multicol-1/ref-filled-green-100px-square.xht => layout/reftests/w3c-css/received/reference/ref-filled-green-100px-square.xht
extra : source : f2cca58157c5bbd7cfa54af98cfe8b32bc215f7b
2016-11-11 21:35:38 +11:00
Daniel Holbert 60c50c3f43 Bug 1316762: Add fuzzy annotation for box-sizing-replaced-003.xht on linux. r=neerja
MozReview-Commit-ID: PLCAeVOvb1
2016-11-10 16:50:25 -08:00
Daniel Holbert 0bac0fe86b Bug 1269017 followup: Fix typo in <link rel="match"> reference metadata, in reftests for CSS Box Alignment of abspos grid children. (test-only)
This patch is only updating metadata inside of tests, so DONTBUILD.

MozReview-Commit-ID: DDOU4oAd64W
2016-11-10 11:25:01 -08:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Ethan Lin 24bda82351 Bug 1315353 - Part 2: Add testcase for border-image-repeat with SVG content. r=dbaron
--HG--
extra : rebase_source : 7ed0f7e6d37cd497ba1efb3876a0ee8f342ddca4
2016-11-08 11:46:46 +08:00
Ting-Yu Lin 384e9e119b Bug 1291110 Part 4 - Use line BSize to query available space when updating nsLineLayout. r=dbaron
In nsBlockFrame::PlaceLine(), we query the float available space by
using the line's BSize(), which may cause the line to reflow again due
to available space shrunk.

The first issue lies in the second reflow. That is, we do not leverage
the line's BSize() computed in the first reflow to query the float
available space when updating the inline reflow engine in
BlockReflowInput::AddFloat(). So some tall inline elements could still
overlap the floats as in the first reflow.

To solve this, we cache current line's BSize so that it could be
used to update the inline reflow engine when redo the line.

Another issue is in nsBlockFrame::PlaceLine(). When determined whether
the available space is shrunk, we use the float manager's state *before*
placing the line. So if current line has floats, they're not considered.

To solve this, we use the current set of floats to get the float available
space for comparison, and leave the original aFloatAvailableSpace to provide
the information when redoing the line.

MozReview-Commit-ID: GqqNlphgxYS

--HG--
extra : rebase_source : e2c64ab1ac363c7a08e532dc043bee69d6455049
2016-08-22 19:42:37 +08:00
Neerja Pancholi f5845ba7b6 Bug 1316430 - Add fuzzy annotation for reftests/details-summary/mouse-click-twice-float-details.html r=dholbert
MozReview-Commit-ID: 47XhcgMrOu6

--HG--
extra : rebase_source : 3cea0a9ec50dfc465bdf0eb1c87ba451a434024a
2016-11-09 13:15:27 -08:00
Neerja Pancholi 0f13b458fc Bug 1295466 - Use MozReftestInvalidate event in box-sizing-replaced-001.xht to avoid test failure when paint delay is reduced r=mstange
MozReview-Commit-ID: IXK2WwM3mrH

--HG--
extra : rebase_source : 2e8dd60536eeb9fdf708d8e2716b49a5f83f41ac
2016-11-07 16:32:48 -08:00
Neerja Pancholi 57478826a0 Bug 1315846 - Fix reftests with minor AA and layerization issues by replacing text with tall divs as placeholders r=dholbert
MozReview-Commit-ID: 4FB1MrQjGhE

--HG--
extra : rebase_source : fb0ecd03e167c3d815e7ae013366914bad278dbb
2016-11-08 13:34:09 -08:00
Neerja Pancholi 433e9d5892 Bug 1315834 - Add fuzzy annotation for layout/reftests/bugs/502447-1.html r=mstange
MozReview-Commit-ID: 4GNORDTwnQC

--HG--
extra : rebase_source : 5fdcd90ae5eb95248040f33616e580a85f0eb6b1
2016-11-07 17:00:45 -08:00
Neerja Pancholi 0919e111e2 Bug 1178202 - Use MozReftestInvalidate event in invalidate-1.html for landing Bug 1283302 r=mstange
MozReview-Commit-ID: G4Towoy0XpF

--HG--
extra : rebase_source : b6a7c996c6fb7b209d873748898219920b24fdb0
2016-11-02 18:14:22 -07:00
Carsten "Tomcat" Book 6999313142 Merge mozilla-central to autoland 2016-11-09 16:42:13 +01:00