mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibWeb: Prevent elements with no layout box from modifying counters
This commit is contained in:
parent
898e3bd898
commit
696ccc1aa9
Notes:
github-actions[bot]
2024-07-26 10:05:23 +00:00
Author: https://github.com/AtkinsSJ
Commit: 696ccc1aa9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/720
Reviewed-by: https://github.com/tcl3
3 changed files with 82 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue