diff options
Diffstat (limited to '418/index.md')
-rw-r--r-- | 418/index.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/418/index.md b/418/index.md new file mode 100644 index 0000000..9c5c8c9 --- /dev/null +++ b/418/index.md @@ -0,0 +1,36 @@ +Title: Child combinator ignores <fieldset> +Author: ewpacol +Created: Fri, 04 Jul 2025 17:14:10 +0000 +State: open + +Tested with Dillo 3.2.0 on Fedora 42 via WSL 2.5.9.0 + +With the sample document: + +```html +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <style> + body > p { + color: blue; + } + </style> + <title>Document</title> +</head> +<body> + <p>Body paragraph</p> + <div> + <p>Div paragraph</p> + </div> + <fieldset> + <p>Fieldset paragraph</p> + </fieldset> +</body> +</html> +``` + +Only the first paragraph should be blue since it is the only child `<p>` of `<body>`. Dillo also colors the paragraph within `<fieldset>`. + +<img width="790" height="140" alt="<fieldset> bug demo" src="https://github.com/user-attachments/assets/8bc1920b-875e-4b85-a0c0-9fc16cadc410" />
\ No newline at end of file |