Closed Bug 272993 Opened 20 years ago Closed 14 years ago

susiehansen.com - invalid closure of <a> tags breaking styling

Categories

(Tech Evangelism Graveyard :: English US, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: miles, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

In the page at http://www.susiehansen.com/calendar-bug.html, the first <H3> and
<P> get a:link and a:hover coloring/decoration even though they are not
contained within an anchor.

In the page at http://www.susiehansen.com/calendar-kludge.html, this is worked
around by adding an empty anchor "<a></a>" on Line 125.

The page passes the W3C HTML and CSS validators, and IE displays it correctly.

Reproducible: Always
Steps to Reproduce:
1.Open http://www.susiehansen.com/calendar-bug.html
2.Observe the highlighting of the first H3 and paragraph (San Pedro Promenade)
3.Open http://www.susiehansen.com/calendar-kludge.html
4.Observe that the addition of an "<a></a>" at the beginning of Line 125 works
around the parse error.

Actual Results:  
An <H3> and <P> that are not contained within an anchor were highlighted as a link.

Expected Results:  
The <H3> and <P> should have been displayed normally.
<a name="SanPedroProm" id="SanPedroProm"/> is invalid.  You can't close the tag
like this unless you are serving your document as application/xhtml+xml, which
isn't the case here.

Since the <a> is thus effectively not closed, the tags within it pick up the <a>
styles.

Not a browser bug.  The site needs to fix its code.
->TE
Assignee: parser → english-us
Status: UNCONFIRMED → NEW
Component: HTML: Parser → English US
Ever confirmed: true
OS: Windows 2000 → All
Priority: -- → P4
Product: Core → Tech Evangelism
QA Contact: mrbkap → english-us
Hardware: PC → All
Summary: <p> is decorated like an <a> even though it is not within an anchor → susiehansen.com - invalid closure of <a> tags breaking styling
Version: Trunk → unspecified
INCOMPLETE due to lack of activity since the end of 2009.

If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself.

Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.