[haiku-bugs] [Haiku] #12163: WebPositive error on img tag between <a></a> tags

  • From: "haiqu" <trac@xxxxxxxxxxxx>
  • Date: Tue, 16 Jun 2015 05:36:20 -0000

#12163: WebPositive error on img tag between <a></a> tags
--------------------------------------+------------------------------
Reporter: haiqu | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/WebPositive | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------------------+------------------------------
The following snippet of code shows an error in WebPositive:


{{{
<div id="project-header">
<a href="/"><img src="/home/furius-logo-w.png" id="logo"></a>
<div id="project-home"><a href="..">Project Home</a></div>
</div>
}}}

It will fail to display and throw an error at the second line. Replacing
it with the following code works:

{{{
<div id="project-header">
<a href="/"><img src="/home/furius-logo-w.png" id="logo"></img></a>
<div id="project-home"><a href="..">Project Home</a></div>
</div>
}}}

but since the img tag is assymetrical the code itself is wrong.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12163>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: