Closed Bug 171324 Opened 21 years ago Closed 21 years ago

unknown tags dropped in HTML


(Core :: DOM: HTML Parser, defect, P2)






(Reporter: amyy, Assigned: harishd)



(Keywords: regression, testcase, Whiteboard: [QA-P2])


(2 files)

Build: 09-26 trunk build on all platforms.

This problem doesn't exist in N7.0 and 09-12 branch build.

Steps to reproduce:
1. I first found this was when I run some my test cases, e.g.:

The styles don't work in this page at all.

2. Then I removed all the non-ascii data, and encoding as iso-8859-1:

I think it's a bad regression.
Nominate as nsbeta1.
Keywords: nsbeta1, regression
*** Bug 171323 has been marked as a duplicate of this bug. ***
First, this is almost certainly the wrong component.  Second, could you post a 
public testcase?  Third, could you possibly test with a trunk build from August 
26 or earlier?  This could be fallout from bug 119321.
Assignee: jst → dbaron
Component: DOM Style → Style System
Seems not related with bug 119321 - the regression was happened some time
between 09-12-03 and 09-13-03 trunk build (tested on Mac 10.1.5).
Attached file test html file
Attached file associated CSS file
The :before pseudo-element called from an external style sheeted linked via
<link> tag does not work. But if the style is included internally within the
<style> tag it works fine.

see test case attachment 101138 [details]
Keywords: testcase
Priority: -- → P2
Whiteboard: [QA-P2]
changing summary to ":before pseudo-element style lost when called from an
external style sheet"

Summary: Some CSS style lost → :before pseudo-element style lost when called from an external style sheet
Well, I can't reproduce the problem in attachment 101138 [details].  I _can_ reproduce the
problem in this bug.  It has nothing to do with intl or with :before but with
the fact that none of the <data>, <name>, etc nodes make it into the content
model. All that's there is one big text node with all the data in it.

To parser, and making the summary make sense.
Assignee: dbaron → harishd
Component: Style System → Parser
QA Contact: ian → moied
Summary: :before pseudo-element style lost when called from an external style sheet → unknown tags dropped in HTML
This is a regression from bug 167493 based on the checkin window and the symptoms.

*** This bug has been marked as a duplicate of 170413 ***
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.