Commit 7f0082f
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 <xiaochengh@chromium.org>
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> 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 <xiaochengh@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#923601}1 parent 98d4272 commit 7f0082f
File tree
2 files changed
+0
-88
lines changed- css/css-cascade
2 files changed
+0
-88
lines changedThis file was deleted.
This file was deleted.
0 commit comments