Skip to content

Child combinator ignores <fieldset> #418

@ewpacol

Description

@ewpacol

Tested with Dillo 3.2.0 on Fedora 42 via WSL 2.5.9.0

With the sample document:

<!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>.

<fieldset> bug demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    CSSbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions