[Webkit-unassigned] [Bug 111528] New: View Source does not show trailing truncated tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 5 23:32:07 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=111528

           Summary: View Source does not show trailing truncated tags
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: davidben at mit.edu


This is pretty minor, but if you view source on a file like:

Blah blah
<b

The "<b" gets lost in View Source (tested in Chrome). I didn't look too closely at the details, but it seems this comes from View Source being based on the HTML tokenizer. If you get an EOF in the "tag name state", no token is emitted for the truncated tag and instead it goes straight to emitting an EOF token.

http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tag-name-state

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list