This is in the interests of allowing the frontend team to experiment with
switching from XUL grid to CSS grid, without inadvertently changing the
display values for the grid items via css-grid-item blockification.
This patch's new pref is not expected to remain in the codebase for long.
We're just adding it so that the behavior remains the same by default, because
we do currently have some XUL code that inadvertently depends on -moz-box
display values being blockified to 'block'. The plan is for folks to remove
that dependency e.g. by adding explicit 'display:block' styling to frontend
code as-needed. After we've done that, we can tentatively flip the pref to true
by default, and then remove the pref entirely.
Differential Revision: https://phabricator.services.mozilla.com/D45258
--HG--
extra : moz-landing-system : lando
We log to MOZ_LOG, report an error to the console, send telemetry, and in debug builds - crash
Differential Revision: https://phabricator.services.mozilla.com/D45055
--HG--
extra : moz-landing-system : lando
Automatic update from web-platform-tests
Port two webkit-xxx-interpolation.html to wpt/
These two tests already have corresponding tests in wpt, this CL just
adds some cases that are not yet covered under wpt. We still keep the
prefixed tests to ensure coverage.
Tested on both Chrome and Firefox, and they both pass the newly added
test cases.
Bug: 900581
Change-Id: Ic7ef80eb8d29179080d669b20279b59937c51960
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1805860
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697227}
--
wpt-commits: 024be57c34673a2861000f819e4d0218bcb3f23a
wpt-pr: 19071
Automatic update from web-platform-tests
Remove redundant checks in freezing/pausing context.
Check IsAttached() in places where JS events fire.
Some GetDocument() checks become redundant since we can't have a null
document on an attached frame.
BUG=907125
Change-Id: Ia34a65fb71cbd7da16664880998f9054e7fbc726
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801735
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697223}
--
wpt-commits: 0366b2b1a926085cb725a0bfdfae3f4d285c55cd
wpt-pr: 19101
Automatic update from web-platform-tests
Rename column-rule-width.html
This test is an interpolation test, and that should be reflected in the
name. This CL change the name of the file.
Bug: 900581
Change-Id: Icb9585dfc8454576a4659d52dbbb08268fc2719b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1805503
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697212}
--
wpt-commits: cecad145f71652662b9469ce1797e20c09dfe301
wpt-pr: 19072
--HG--
rename : testing/web-platform/tests/css/css-multicol/animation/column-rule-width.html => testing/web-platform/tests/css/css-multicol/animation/column-rule-width-interpolation.html
Automatic update from web-platform-tests
Implement the font-optical-sizing property
Implement the CSS fonts property font-optical-sizing [1]. Typographic
optical sizing means that a font has slight variations in glyph contrast
to better optimize for legibility at different font sizes: The glyph
shapes vary between for example a headline font size and a body text
font size. The CSS font-optical-sizing property with its default value
of auto exists to automatically apply the current font size value to a
variable font's 'opsz' axis. This means, if a variable font supports the
'opsz' axis and optical sizing, the right value is automatically applied
without the need for an explicit font-variation-settings styling.
Intend to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Y3lhEykjfV0
Chromestatus entry:
https://www.chromestatus.com/feature/5685958032752640
[1] https://drafts.csswg.org/css-fonts-4/#font-optical-sizing-def
Bug: 773697
Change-Id: Ifa4b6e042204a3fbf172b8cfe232821d8691283b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795244
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697197}
--
wpt-commits: 0bdf849f55a13ecf4ae972aef0a583110d32089e
wpt-pr: 19058
Automatic update from web-platform-tests
Fix ordering of script elements
As for title in `html/semantics/scripting-1/the-script-element/module/module-vs-script-1.html`,
it says "Once as module script, once as classic script" and the title of
`html/semantics/scripting-1/the-script-element/module/module-vs-script-2.html` says "Once as classic script, once as module script".
So, it should be reasonable to make the second test have script elements
order in classic and then module.
--
wpt-commits: aab8bf00bd40f392c06b88f8afd03a8b03691099
wpt-pr: 19117
Automatic update from web-platform-tests
Add MathML reftest to check that the mode attribute has no effect. (#19113)
See https://github.com/mathml-refresh/mathml/issues/5
--
wpt-commits: e9f2d000237d43f74136cfd40e5a3454f5b54b70
wpt-pr: 19113
Automatic update from web-platform-tests
Add MathML test to check that menclose@notation="radical" is not supported (#19112)
See https://github.com/mathml-refresh/mathml/issues/3
--
wpt-commits: b3e39b3f3c81ffd6c0995ea8e34d9147ac3f62d8
wpt-pr: 19112
Automatic update from web-platform-tests
Add MathML tests to check that legacy mstyle attributes are ignored. (#19110)
* Add MathML tests to check that legacy mstyle attributes are ignored.
See https://github.com/mathml-refresh/mathml/issues/1
* Avoid false positives.
--
wpt-commits: 0d0f9319b356f46f8bebd82982306b3b0053fa8c
wpt-pr: 19110
Automatic update from web-platform-tests
[webnfc] Add tests for NFCPushOptions.ignoreRead
Covered two checkpoints:
- Existing data should be read during the same tap if NFCPushOptions.ignoreRead
is set to false.
- Existing data should not be read during the same tap if NFCPushOptions.ignoreRead
is set to true.
Fixed bug in "setReadingMessage" func in external/wpt/resources/chromium/nfc-mock.js
that |message| is of type NDEFMessageInit should have no compatibility and message
properties.
BUG=520391
Change-Id: I6fdc69ff96008142d179a801008e04e7979d6112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1804324
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Leon Han <leon.han@intel.com>
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Cr-Commit-Position: refs/heads/master@{#697102}
--
wpt-commits: 9e201113cf36aefe07fe9c14caa47705d541e141
wpt-pr: 19082
Automatic update from web-platform-tests
Move 'autofocus' IDL attribute to HTMLOrSVGElement
crrev.com/697042 changed the autofocus behavior, and this CL just changes
the IDL attribute.
Note: We need to add 'autofocus' to svg_attribute_names.json5
because generated code for 'Reflect' needs svg_names::kAutofocusAttr.
html_names::kAutofocusAttr and svg_names::kAutofocusAttr have
an identical value.
I2IS: https://groups.google.com/a/chromium.org/d/msg/blink-dev/g8MP8KUf96w/360rLewrDwAJ
Bug: 995679
Change-Id: I4c7a1ad72d14c4e1e54d8455935b1255805fb384
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808617
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697087}
--
wpt-commits: f2835bb68cb99f89d89a7aa863f47d7219f5f177
wpt-pr: 19108
Automatic update from web-platform-tests
Enhancement and bug fix for on[event] attributes on MathML elements (#19090)
* mathml/relations/html5-tree/math-global-event-handlers.tentative.html
The test should be asynchronous and wait for the event to be dispatched,
otherwise it always passes.
* clipboard-event-handlers.tentative.html
Current test just uses addEventListener and dispatchEvent, so does not
require any MathML-specific IDL at all. Modify the test to instead set
the listener via element.on[event] = ...
--
wpt-commits: 20a395098e9eeea523b38c36dbcf8a474b3be206
wpt-pr: 19090
Automatic update from web-platform-tests
[LayoutNG] Use BoxLayoutExtraInput when calculating overflow.
This will set temporary proper override sizes.
We already use this mechanism in NGBlockNode::RunLegacyLayout(), but
that one only has an effect for things that are done from within legacy
layout (LayoutObject::Layout()). Overflow calculation happens after
layout, and is done by the legacy engine, even for NG objects.
Bug: 908083
Change-Id: I2b4e88c096f138aa820856e3c79e1ddcef07a3da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801770
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696752}
--
wpt-commits: 149354218b0d2f62f1907d9fe8becfc94a8d138f
wpt-pr: 19043
Automatic update from web-platform-tests
[css-text] Adjust trailing space tests in response to https://github.com/w3c/csswg-drafts/issues/4180 (#18949)
--
wpt-commits: 0bfde9f6a8bfde0fde4dba73d7172a8eed6e946e
wpt-pr: 18949
Automatic update from web-platform-tests
[LayoutNG] Allow overflow-/word-wrap to work with keep-all
When `word-break: break-all` or `keep-all` is specified, this
patch fixes `overflow-/word-wrap: break-word` to be effective.
Before this patch, it was forced to be `normal`.
Bug: 1001378
Change-Id: I73f5956a6856f2cbd0944461a0aa7a2929e722cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1806162
Commit-Queue: Koji Ishii <kojii@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#696724}
--
wpt-commits: 5aaf335a29ebb5fde4b91f8e0032b03418b2a4be
wpt-pr: 19081
Automatic update from web-platform-tests
Remove tests for SVG transform with CSS syntax - part 1 (#11169)
Remove tests for SVG transform with CSS syntax - part 1
--
wpt-commits: 91985c1463b4a4abbeae3787e49c0e02c063bc2d
wpt-pr: 11169
Automatic update from web-platform-tests
Add smfr as reviewer for CSS Transforms (#19074)
Add smfr as reviewer for CSS Transforms
--
wpt-commits: c8845745bd2ee464977ffc4333b80c89d72bebd2
wpt-pr: 19074