Skip to content

Commit 7f0082f

Browse files
xiaochenghchromium-wpt-export-bot
authored andcommitted
Revert "[@layer] Fix cascade ordering of inline style and layered style"
This reverts commit 65f6b482860b4dda8933a19f1f4b4115c3812b41. Reason for revert: Caused b/200698937 Original change's description: > [@layer] Fix cascade ordering of inline style and layered style > > This patch adds a new flag to MatchResult and CascadePriority to > indicate if a declaration is from inline style or other style sheets, so > that we can compare inline style and other layered style correctly. > > Without this flag, currently we are treating inline style as regular > declarations in the implicit outer layer, and therefore mistakenly > override it with layered style rules in other style sheets. > > Bug: 1095765 > Change-Id: I10dbafcf9721fc5b8a5b11edeaeab48c82df86d4 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3167095 > Commit-Queue: Xiaocheng Hu <[email protected]> > Reviewed-by: Rune Lillesveen <[email protected]> > Reviewed-by: Anders Hartvoll Ruud <[email protected]> > Cr-Commit-Position: refs/heads/main@{#923216} Bug: 1095765 Change-Id: I93b6caffbaa777338f1b05769f85ae2becbdabab No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3174089 Auto-Submit: Xiaocheng Hu <[email protected]> Commit-Queue: Rubber Stamper <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Cr-Commit-Position: refs/heads/main@{#923601}
1 parent 98d4272 commit 7f0082f

File tree

2 files changed

+0
-88
lines changed

2 files changed

+0
-88
lines changed

css/css-cascade/layer-vs-inline-style.html

Lines changed: 0 additions & 60 deletions
This file was deleted.

css/css-cascade/presentational-hints-cascade.html

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)