Closed Bug 62076 Opened 24 years ago Closed 24 years ago

The Body style tag does not get processed if it is included from a linked style sheet.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 62075

People

(Reporter: mark.scott, Assigned: pierre)

Details

Give the following example we get a page that all the style information is
ignored, i.e. we get "some text" on a white page with normal margins.

test.html
<html>
<head>
<link rel="stylesheet" type="text/css"
      href="style.css"
      title="merlin style">
<body>
some text
</body>
</html>

style.css
<style>
<!--
BODY {
  margin-top: 100px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-left: 100px;
  background: red;
}
-->
</style>

but if we have a page, as below all works correctly.

<html>
<head>
<style>
<!--
BODY {
margin-top: 100px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 100px;
background: red;
}
-->
</style>
<body>
some text
</body>
</html>

*** This bug has been marked as a duplicate of 62075 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verify dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.