gecko-dev/layout/reftests
Alexis Beingessner 6b442a22a5 Bug 1555356 - Make images inside of SVGs active. r=aosmond
This is done using a similar approach to CreateWebRenderCommands
but slightly modified. In particular the active layer check needs
to be done before we're ready to CreateWebRenderCommands, but once
we decide to activate an item, we can't let CreateWebRenderCommands
fail. Unfortunately, the need to query ImageLib for support means
we need to do basically ~all of the work of CreateWebRenderCommands
to do this check.

As such, this introduces a modified version of CreateWebRenderCommands
that SVGGeometryFrames implement with a "dry run" flag. When true,
it runs the same code but stops short of mutating the WR DL/state.

ImageLib may be encouraged to do some extra work that could be thrown
away, but I'm not sure there's any way to avoid that.

For now, only SVGImageFrame actually provides an implementation. The
bulk of the implementation is handling the on-by-default
preserveAspectRatio feature of SVG images. It was cleaner to just
reimplement that logic than reuse the existing preserveAspectRatio
code, as it was too tangled up in the particulars of how the PaintSVG
path is designed.

Differential Revision: https://phabricator.services.mozilla.com/D59925

--HG--
extra : moz-landing-system : lando
2020-02-14 14:50:36 +00:00
..
abs-pos Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
apng-mime
async-scrolling Bug 1613144 - Add reftest. r=botond 2020-02-07 20:45:39 +00:00
backgrounds Bug 1590805 - Update reftest expectations for webrender on android emulator. r=gbrown 2019-11-08 22:05:59 +00:00
bidi Bug 1555376 - Followup to mark more tests as passing. 2019-11-30 19:32:01 +00:00
border-dotted
border-image Bug 1606771 - Pass more reftests. r=mstange 2020-01-23 14:20:47 +00:00
border-radius Bug 1614233. Properly clip nsDisplayRemote. r=mattwoodrow 2020-02-13 07:17:43 +00:00
box Bug 1607575 - Change consumers of XUL ordinal attribute to use the -moz-box-ordinal-group style instead r=bgrins 2020-01-22 17:23:47 +01:00
box-ordinal Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
box-properties Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
box-shadow Backed out changset b371f612cd60 (Bug 1604535) for performance regressions. 2020-01-30 13:11:08 +00:00
box-sizing
bugs Bug 1613143. Don't allow an empty transaction to succeed with webrender if we haven't sent a display list to the parent. r=mattwoodrow 2020-02-12 01:40:51 +00:00
canvas Bug 1509054 - add fuzzy-if statements to allow reftests to run on new windows10 AMI image. r=kats 2018-11-21 16:11:24 +00:00
columns Bug 1499281 - Remove column-span pref in reftest.list/crashtest.list, and remove duplicate reftest runs. r=dbaron 2019-12-31 16:23:30 +00:00
counter-style
counters Bug 1576821 - [css-lists-3] Make 'none' invalid as a <counter-style> in counter()/counters(). r=emilio 2019-08-30 00:15:37 +00:00
css-animations Bug 1592787 - Don't run compositor animations if offset-path is not animating and is none. r=hiro 2019-11-06 20:17:07 +00:00
css-blending Bug 1590805 - Update reftest expectations for webrender on android emulator. r=gbrown 2019-11-08 22:05:59 +00:00
css-break Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman 2019-12-17 15:51:57 +00:00
css-calc
css-charset
css-default
css-disabled
css-display Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
css-enabled
css-gradients Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange 2020-02-12 04:27:15 +00:00
css-grid Bug 1615111 - Update test expectations with fuzziness for WR. r=nical 2020-02-13 10:34:01 +00:00
css-import
css-invalid Bug 1559023 - Adjust fuzz for form-valid-and-barred-remove-barred.html on geckoview. r=gbrown 2019-06-13 15:27:08 +00:00
css-mediaqueries Bug 1494034 - Add support for CSS prefers-color-scheme media feature. r=emilio 2019-02-15 21:40:35 +01:00
css-optional
css-parsing
css-placeholder Bug 1608582 - tighten reftest annotation, part 2 r=jmaher 2020-01-11 12:33:10 +00:00
css-required Bug 1501582 - Mark geckoview failures. r=gbrown 2019-06-11 16:12:03 +00:00
css-ruby Bug 1134069 part 3 - Move most appropriate tests into wpt. r=dbaron 2019-12-27 00:31:48 +00:00
css-scroll-snap Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro 2019-10-15 12:40:14 +00:00
css-scrollbars Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin 2019-01-10 14:15:30 +00:00
css-selectors Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
css-shapes
css-sizing
css-submit-invalid
css-transitions Bug 1556058 - Update test expectations for Android 7.0 reftests; r=kats 2019-06-28 17:30:48 +00:00
css-ui
css-ui-invalid Bug 1573999 - Add fuzzy-if(Android) to css-ui-invalid/select/select-disabled-fieldset-2.html and remove fuzzy-if(Android) from css-ui-valid/select/select-disabled-fieldset-2.html. r=botond 2019-08-15 14:58:51 +00:00
css-ui-valid Bug 1584652 - add Android fuzzy-if for css-ui-valid/select/select-valid.html; r=dholbert 2019-09-30 15:13:37 +00:00
css-valid
css-valuesandunits Bug 1564882 - disable unit-vh-vw-overflow-auto.html on linux and mac. r=jmaher 2020-01-22 17:51:44 +00:00
css-variables
css-visited Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak 2019-11-13 16:36:09 +00:00
cssom Bug 1511138 - Fix / update tests. r=smaug 2018-12-07 14:23:31 -05:00
datalist
details-summary Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
display-list Bug 1553828 - Compute intermediate bounds for transform items that do not extend 3D context r=mattwoodrow 2019-06-05 20:04:08 +00:00
dom Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
first-letter Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc 2019-09-06 16:51:10 +00:00
first-line Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
flexbox Bug 1608741 - Part 3 - Add fuzziness for some tests with virtual surfaces. r=jrmuizel 2020-01-23 03:09:20 +00:00
floats Bug 1544460 - fix reftest annotations and enable for osx 10.14. r=jfkthame,kats 2019-05-24 18:01:02 +00:00
font-face Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj 2019-07-22 20:27:39 +00:00
font-features Bug 1414961 - enable WR dual-source blending by default. r=jrmuizel 2019-05-07 02:30:16 +00:00
font-inflation Bug 1547063 - fuzz for SharedFTFace. r=jfkthame 2019-09-16 16:46:12 +00:00
font-loading-api
font-matching Bug 1592057 - Change order of emoji font in reftest since recent Linux has Noto Color Emoji. r=jfkthame 2019-12-04 10:06:04 +00:00
font-variations Bug 1456855 - adjust manifests for tests that now run with the new linux64 FreeType. r=ahal 2019-03-01 20:35:47 +00:00
fonts Bug 1559975 - Make layout/reftests/ lint with 'py2' and 'py3' r=catlee 2019-12-26 21:17:52 +00:00
forms Bug 1608582 - tighten reftest annotation, part 2 r=jmaher 2020-01-11 12:33:10 +00:00
frameset
generated-content
high-contrast Bug 1612291 - Fix two issues with themed widgets in high contrast mode. r=heycam 2020-02-10 00:37:36 +00:00
ib-split Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
image Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
image-element Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r=nical 2020-01-06 18:41:55 +00:00
image-rect
image-region Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
indic-shaping Bug 1608582 - tighten reftest annotation, part 2 r=jmaher 2020-01-11 12:33:10 +00:00
inline
inline-borderpadding
invalidation Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
layers Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange 2019-05-02 21:00:30 +00:00
line-breaking Bug 1509423 - Test/manifest updates to account for minor rendering differences between HarfBuzz and Core Text. r=jrmuizel 2019-05-20 14:29:35 +00:00
list-item Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert 2019-09-05 21:32:05 +00:00
margin-collapsing Bug 1308636 Part 2 - Convert CSSOM usages of moz-prefixed column properties in tests. r=dbaron 2020-01-16 21:45:17 +00:00
marquee
mathml Bug 1607294 - adjust font-inflation-1.html annotation for linux1804 webrender r=jmaher 2020-01-21 10:59:51 +00:00
meta-viewport Bug 1609002 - Update test expectations. r=botond 2020-01-18 01:10:52 +00:00
mp4-video Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp 2019-09-30 16:34:16 +00:00
native-theme Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
object
ogg-video Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp 2019-09-30 16:34:16 +00:00
outline Bug 1605265 - Don't include overflow child list when computing outline rect. r=emilio 2020-01-10 23:44:46 +00:00
pagination Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron 2020-01-08 02:48:12 +00:00
percent-overflow-sizing
pixel-rounding
position-dynamic-changes Bug 1556058 - Update test expectations for Android 7.0 reftests; r=kats 2019-06-28 17:30:48 +00:00
position-relative Bug 1409114 - Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position. r=dbaron 2019-05-20 23:16:39 +00:00
position-sticky Bug 1608582 - tighten reftest annotation, part 4 r=jmaher 2020-01-15 07:52:44 +00:00
printing
reftest-sanity Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
scrolling Bug 1588791 - Make fission iframes honor and deal with the scrolling attribute. r=mattwoodrow 2020-01-13 11:30:44 +00:00
selection Bug 1612822 - Refactor text decoration offset/thickness computations. r=emilio 2020-02-03 14:38:47 +00:00
stylesheet-cloning
svg Bug 1555356 - Make images inside of SVGs active. r=aosmond 2020-02-14 14:50:36 +00:00
tab-size
table-anonymous-boxes Bug 1562840 - Fuzzy table-anonymous-boxes/490174-1.html on Android debug. r=gbrown 2019-12-04 22:48:08 +00:00
table-background Bug 1552984 - Refactor parts of the WR batching and flattening code, to support future picture caching improvements. r=kvark 2019-05-22 14:57:10 +00:00
table-bordercollapse Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown 2019-07-04 21:57:48 +00:00
table-dom
table-html
table-overflow
table-width
text Bug 1611610 - Add reftest for effect of synthetic bold on metrics of zero-width glyph. r=lsalzman 2020-01-25 15:44:03 +00:00
text-decoration Bug 1573711 - Account for baseline offset (potential effect of vertical-align property) when computing skip-ink intercepts. r=dholbert 2019-08-31 04:32:55 +00:00
text-indent Bug 1453298 - [css-text] Resolve 'text-indent' percentage against the content-box inline-size of the box itself, not its containing block. r=emilio 2018-10-25 16:51:44 +02:00
text-overflow Bug 1555376 - Snap glyphs before clipping in the shader. r=lsalzman 2019-11-30 15:57:44 +00:00
text-shadow Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
text-stroke Backed out changset b371f612cd60 (Bug 1604535) for performance regressions. 2020-01-30 13:11:08 +00:00
text-svgglyphs Bug 1543639 - Fix svg-glyph-extents reftest timeouts when running on Fennec with webcompat extension installed. r=heycam 2019-09-08 23:21:47 +00:00
text-transform Bug 1533481 - Part 9: Update Gecko to Unicode 12. r=jfkthame! 2019-04-04 12:46:18 +03:00
transform Bug 1597642 - Have scale function and scale property accept percentage value. r=emilio 2019-11-29 04:40:03 +00:00
transform-3d Bug 1598617 - Adjust Android WR expectations for mask-layer-1 and mask-layer-2 tests 2019-11-22 21:14:29 +00:00
unicode
usercss Bug 1590805 - Update reftest expectations for webrender on android emulator. r=gbrown 2019-11-08 22:05:59 +00:00
view-source
w3c-css Bug 1598753 - Remove w3c-css/received/css-values reftests. r=dbaron 2020-02-11 23:33:23 +00:00
web-animations Bug 1527210 - Be more consistent about only applying transforms to primary frames; r=hiro 2019-03-05 03:09:19 +00:00
webcomponents Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug 2018-11-15 06:51:07 +00:00
webkit-box Bug 1555376 - Snap glyphs before clipping in the shader. r=lsalzman 2019-11-30 15:57:44 +00:00
webkit-gradient Bug 1556855 part 2: Update tests to assume that 'layout.css.prefixes.webkit' is already true. r=mats 2019-06-05 18:22:39 +00:00
webm-video Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp 2019-09-30 16:34:16 +00:00
writing-mode Bug 1430141 - Remove hardcoded <input type=number> width. r=jfkthame 2020-01-15 16:52:37 +00:00
xul Bug 1593060: When measuring size of XUL in CSS grid, use the GetXULPrefSize API instead of an explicit reflow. r=mats 2019-12-04 03:37:09 +00:00
xul-document-load Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
z-index
filters.svg
moz.build Bug 1598746 - Add some SCHEDULES optimizations for changes to test files; r=ahal 2020-01-07 16:46:46 +00:00
reftest.list Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow,Jamie 2019-10-04 16:44:49 +00:00