mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Prevent elements with no layout box from modifying counters
This commit is contained in:
Notes:
github-actions[bot]
2024-07-26 10:05:23 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/696ccc1aa99 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/720 Reviewed-by: https://github.com/tcl3
@@ -0,0 +1,8 @@
|
||||
<style>
|
||||
p {
|
||||
counter-increment: a;
|
||||
}
|
||||
p::before {
|
||||
content: counter(a) ": ";
|
||||
}
|
||||
</style><p>A<p>B<p>C<p style="display:none">SECRET<p>D<p>E
|
||||
Reference in New Issue
Block a user