Repository navigation
move test dom-element-scroll.html from mozilla to wpt - #62
Merged
Merged
Conversation
This commit removes the support/FontsToInstall directory and moves the TrueType and OpenType test fonts directly into the support/ directory. It attaches a support/test-fonts.css stylesheet to test pages so that these test fonts are loaded via @font-face rules. Finally, the instructions to install test fonts, the CSS rule for the installation note as well as the "flags" meta tags are removed.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1404864 gecko-commit: 69256fdf60d6e4a24c5f82bb60639f1c7f37af33 gecko-integration-branch: mozilla-inbound gecko-reviewers: peterv
…if it fails. That causes unnecessary pain when updating tests across platforms, etc., and also unnecessary test failures when adding new properties for example.
Fixes an issue where CSSNumericValue.parse considers valid strings surrounded by whitespace to be invalid. Bug: 844290 Change-Id: I4c40044631276a611ef9a56aac21ddf09316a550 Reviewed-on: https://chromium-review.googlesource.com/1065532 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Darren Shen <[email protected]> Cr-Commit-Position: refs/heads/master@{#560207}
When there are adjoining floats that need to be separated from a cleared block, clearance is predetermined, and we have to force it on the block. Any large top margin on the child will just be eaten by negative clearance. There's nothing that can be done to prevent clearance in such cases. So make sure that we don't try to determine whether to apply clearance or not based on the clearance offset set in the constraint space. When clearance has been predetermined (which may have triggered a BFC offset resolution and what not), refusing to apply it to the child is a bug. This aligns the implementation with the "alternative" way of calculating clearance in the spec [1]. Everyone but Edge does this. I think what Edge does here is problematic, because it requires us to use a hypothetical position that was calculated before clearance got applied (clearance causes margins that would otherwise collapse to be separated). We'd end up using a hypothetical position not based on the actual layout situation.[2] [1] https://www.w3.org/TR/CSS22/visuren.html#flow-control [2] w3c/csswg-drafts#2608 This fixes one existing test. Added a few new ones as well. Not all of them failed prior to this CL, but they serve as regression tests for things I found to lack coverage while working on this. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ia45e9048c75c338477eee4923ff16eea3245bc6a Reviewed-on: https://chromium-review.googlesource.com/1061470 Commit-Queue: Morten Stenshorne <[email protected]> Reviewed-by: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/master@{#560208}
".a+:matches(.c>.e)" requires the intersection of ".a+*" and ".c>.e", not ".a+.c>.e". WebKit passes the test, Blink's current implementation does not. BUG=842157 Change-Id: I51566255006199c511b1d235232c0d9bef40035a Reviewed-on: https://chromium-review.googlesource.com/1059982 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Eric Willigers <[email protected]> Cr-Commit-Position: refs/heads/master@{#560228}
Because the "test" is in support/fonts/ it has not been run as a test. See web-platform-tests#11006 (comment) for where these came from and why they can be deleted.
[cssom] Make a test assertion not show the number of CSS properties if it fails.
…platform-tests#11091) https://wpt.fyi/xhr/abort-after-stop.htm is broken in 3/4 browsers and it appears this is because calling window.stop() causes the window load event to never be fired, and testharness.js depends on that. There is no harness timeout in Edge, because Edge fires the load event. Tested with https://jsbin.com/tufepag/edit?js,console and filed web-platform-tests#11090 for the lack of tests for this.
Problem uncovered by a recent change in WPT, see: https://bugs.chromium.org/p/chromium/issues/detail?id=844781#c5 Bug: 844781 Change-Id: I6d3a51e7673ef28128b0ede4cbb0450a299730b5 Reviewed-on: https://chromium-review.googlesource.com/1065991 Reviewed-by: Łukasz Anforowicz <[email protected]> Commit-Queue: Philip Jägenstedt <[email protected]> Cr-Commit-Position: refs/heads/master@{#560268}
Previously, tests for the testharness.js framework were validated according to an implicit heuristic based on the presence of a `<script>` tag. Introduce a file naming convention to make this distinction explicit. This pattern makes the validation behavior easier to understand. It also supports future additions which further differentiate the way the two test types are interpreted.
…settings-rendering-2 Delete font-feature-settings-rendering-2.html with font
Allows namespaces to be bound multiple times for site isolation work, fixes key encoding & decoding in the renderer, and fixes some tests. Change-Id: Iac667af7f6edcb4774f9ef49cfc8fd0801060b31 Reviewed-on: https://chromium-review.googlesource.com/1065207 Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Marijn Kruisselbrink <[email protected]> Commit-Queue: Daniel Murphy <[email protected]> Cr-Commit-Position: refs/heads/master@{#560391}
This change creates an idlharness test for the workers to ensure that all the interfaces are exposed in the worker. This change also updates the webusb.idl file to match the exposure of the interfaces. Bug: 841510 Change-Id: Iad72f242ee0cdbf9a3057828bd4bd5542f6fe063 Reviewed-on: https://chromium-review.googlesource.com/1053063 Commit-Queue: Ovidio Henriquez <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Chong Zhang <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Reviewed-by: Hitoshi Yoshida <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Cr-Commit-Position: refs/heads/master@{#560399}
The incoming CSSPropertyID may be an unresolved property, therefore CSSUnresolvedProperty::Get must be used rather than CSSProperty::Get. This bug exists in Chrome stable as well, but it was pretty hard to discover (by e.g. ClusterFuzz) because aliases were not enumerated until recently. [email protected] Bug: 844816 Change-Id: I97c81764d2027f86004d3b02316cac44412ef0ea Reviewed-on: https://chromium-review.googlesource.com/1065993 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Anders Ruud <[email protected]> Cr-Commit-Position: refs/heads/master@{#560540}
…stall-as-web-fonts Add @font-face rules to load TrueType and OpenType test fonts.
This CL adds a test to make sure requesting Picture-in-Picture rejects when frame is detached. Bug: 806249 Change-Id: I2f9a029cc03fa8977400f908c87f80ed69674e93 Reviewed-on: https://chromium-review.googlesource.com/1065732 Reviewed-by: Mounir Lamouri <[email protected]> Commit-Queue: François Beaufort <[email protected]> Cr-Commit-Position: refs/heads/master@{#560605}
BigInt and BigInt wrappers are supported in serialization, per whatwg/html#3480 This support allows them to be used as IndexedDB values. However, BigInt is not supported as an IndexedDB key; support has been proposed in the following PR, but that change has not landed at the time this patch was written w3c/IndexedDB#231
* font-variant descriptor was moved to Fonts 4 w3c/csswg-drafts#2531 * font-variant descriptor was moved to Fonts 4
…edicated workers This CL adds both web-platform-tests and conventional layout tests because the current Chrome implementation is not spec-compatible in terms of service worker scope matcing with dedicated workers (see https://crbug.com/731599). The layout tests will be removed after the issue is fixed. Bug: 680046 Change-Id: If214bd2f647ee5e7257ae134a870cf1e4ddac608 Reviewed-on: https://chromium-review.googlesource.com/1059979 Commit-Queue: Hiroki Nakagawa <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#560851}
…ests#6499) Clean ups of WritableStream general tests.
Bug: 834281 Change-Id: I7d6f7f30a77f92e451a2b2a3e7a6ace70fc2eee8 Reviewed-on: https://chromium-review.googlesource.com/1071158 Commit-Queue: Guido Urdaneta <[email protected]> Reviewed-by: Guido Urdaneta <[email protected]> Cr-Commit-Position: refs/heads/master@{#561483}
Bug: 809261 Change-Id: I5c26d594f09a3cbbf01a4c747968a67d4d078029 Reviewed-on: https://chromium-review.googlesource.com/1066816 Commit-Queue: Łukasz Anforowicz <[email protected]> Reviewed-by: Charlie Reis <[email protected]> Reviewed-by: Philip Jägenstedt <[email protected]> Cr-Commit-Position: refs/heads/master@{#561501}
Loading the stylesheet at the same time as inserting the results table causes the table to be rendered twice in different layout modes, which takes a long time for very big tables.
A bug was reported where ::first-line broke ::placeholder styling, which seems to have been fixed in https://crrev.com/550589. However, we don't currently have a test for this bug. Add in a test to make sure we don't regress with this bug. Bug: 806247 Change-Id: I5bbcda1ccf5b3ea08a7b66a68071a802f42e9228 Reviewed-on: https://chromium-review.googlesource.com/1071126 Commit-Queue: Chris Nardi <[email protected]> Reviewed-by: Rune Lillesveen <[email protected]> Cr-Commit-Position: refs/heads/master@{#561526}
servo-wpt-sync
force-pushed
the
servo_export_20858
branch
from
May 24, 2018 17:46
351c87c to
7f1eeaf
Compare
Bug: 563816 Change-Id: I22d22fcd06d6bbb9de94dc891fb4b4f327720881 Reviewed-on: https://chromium-review.googlesource.com/1070210 Commit-Queue: Fernando Serboncini <[email protected]> Reviewed-by: Justin Novosad <[email protected]> Cr-Commit-Position: refs/heads/master@{#561573}
There might have been new package releases since the Docker image was built, and the old packages may no longer exist on the mirror; therefore, update the package lists before installing Chrome.
Percentages are not allowed in rect() (arguments are '<length> | auto'.) Move the old test to clip-invalid.html and replace it with one that doesn't use percentages. Bug: 843084 Change-Id: I3cadd99da0d302ac5a0cd012450dd7ade233681c Reviewed-on: https://chromium-review.googlesource.com/1071469 Commit-Queue: Eric Willigers <[email protected]> Reviewed-by: Eric Willigers <[email protected]> Cr-Commit-Position: refs/heads/master@{#561598}
This adds the availableInlineSize, availableBlockSize, to the layout constriants options dictionary. This also makes the children "shrink-to-fit" if they are inside a custom layout pass. Additional logic was needed to *not* "shrink-to-fit" children during the layout fallback if any occurred, so LayoutCustomPhaseScope was added to handle this. The tests that were added test a new BFC with inline children to see if shrink to fitting works as expected. Bug: 726125 Change-Id: Ic86d51579b680d871c66040f54e532bc47d79979 Reviewed-on: https://chromium-review.googlesource.com/1069252 Commit-Queue: Ian Kilpatrick <[email protected]> Reviewed-by: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/master@{#561602}
I am working on https://crbug.com/831155. Some tests that are relying on how things are scheduled in Blink are failing. There was a race condition in this test. The iframe "#fr2" was asked to navigate to a first URL, but soon after, a javascript function modifies the iframe.src to navigate elsewhere. What happened when it didn't work? 1) The first navigation starts. 2) The second navigation is scheduled (See blink's NavigationScheduler) 3) The first navigation commits. FrameLoader::CommitProvisionalLoad() executes: frame_->GetNavigationScheduler().Cancel(). It cancels the second navigation. This CL fixes the race condition. Bug: 831155 Change-Id: I2dd951140b4c5a671c749348ca0247f1901d8b77 Reviewed-on: https://chromium-review.googlesource.com/1069013 Commit-Queue: Daniel Cheng <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/master@{#561659}
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1461321 gecko-commit: c116c385bb02387c9b2b8e2ff1780ee1754b6be7 gecko-integration-branch: mozilla-inbound gecko-reviewers: peterv
- Rename "ShouldShowFocusRingOnMouseFocus" to "MayTriggerVirtualKeyboard" - Remove UserActionElementSet::WasFocusedByMouse() and replace with Document::LastFocusType() - Move WillCallDefaultEventHandler() implementation, which checks whether the most recent event was from the keyboard and forces style recalculation if one has occurred, up to Node from HTMLFormControlElement - Tracks HadKeyboardEvent() on Document as well - Adds many more tests for the existing :focus-visible behaviour This lays the groundwork for some future changes: - Triggering :focus-visible matching on keyboard events when an element is already focused - Potentially moving the default focus ring drawing logic out of LayoutTheme and delegating to the :focus-visible matching logic instead. Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I5dc0a00c9068dc16bcd36a1c52c706646378ca50 Reviewed-on: https://chromium-review.googlesource.com/1060717 Commit-Queue: Alice Boxhall <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Reviewed-by: Rune Lillesveen <[email protected]> Cr-Commit-Position: refs/heads/master@{#561746}
servo-wpt-sync
force-pushed
the
servo_export_20858
branch
from
May 25, 2018 04:27
7f1eeaf to
ab7d87d
Compare
Unlike frames, plugin elements (<embed> and <object>) are updated when their layout tree is rebuilt. However, due to an oversight, <embed> or <object> elements displaying subframes would only have the associated content view (FrameView) torn down, leaving a dangling content frame. This led to some interesting side effects: - When transitioning from a local frame to a plugin, the content frame would remain live, with JS still happily running. - When transitioning from a remote frame to a plugin, - When navigating a remote frame from one URL to another, the element would stop updating since the FrameView would be torn down but a new one would never be created. Note that this was not (as much of) a problem for local frames, since local frames re-create the LocalFrameView on every navigation. With this CL, if a plugin element has an associated content frame, use that to clean up the state associated with the element when the layout tree is detached. This can cause the browser context to be re-created: this matches the behavior of Edge and Firefox. Note that there is still one edge case where Blink behaves oddly: if the navigation fails and should display fallback content, the content frame still remains attached. This will be addressed in followups. Link to whatwg issue: whatwg/html#3576 Bug: 776510, 781880 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Id18605fbe602ea6c0076c1d579345cdcf28cc984 Reviewed-on: https://chromium-review.googlesource.com/996314 Commit-Queue: Ehsan Karamad <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Cr-Commit-Position: refs/heads/master@{#561768}
The web-platform-tests server may be configured to run from any host name. It offers a text substitution feature so that tests can be written to account for this variability. Update tests which previously referenced the default host name (`web-platform.test`) to instead reference a parameterized value.
The web-platform-tests server may be configured to run from any TCP/IP port. It offers a text substitution feature so that tests can be written to account for this variability. Update tests which previously referenced a static port number to instead reference a parameterized value.
servo-wpt-sync
force-pushed
the
servo_export_20858
branch
from
May 25, 2018 06:13
ab7d87d to
ff63658
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reviewed in servo/servo#20858.