https://bugs.kde.org/show_bug.cgi?id=434709

            Bug ID: 434709
           Summary: wrong xhtml script element parsing
           Product: Falkon
           Version: 3.1.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: ka...@seznam.cz
  Target Milestone: ---

Trying reproducer for bug 196868 (attachment 34606) I have found that Falkon
doesn't display the page at all.

Trying the inspector, it shows empty body. Unfolding the head, I see all the
contents of the body inserted _into_ the last head element which is a script
tag.

Obviously, the browser completely ignores the fact that the script tag is
closed.


STEPS TO REPRODUCE
1. wget -O reproducer.tgz https://bugs.kde.org/attachment.cgi?id=34606
2. tar xzf reproducer.tgz
3. falkon index.html

OBSERVED RESULT
empty page

EXPECTED RESULT
normal page, with some text displayed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Trying to upload the page onto W3C validator (validator.w3.org), it reports the
code as valid, no mismatched tags - if I remove the closing slash from the
script tag to simulate what happens in the browser's parser, it reports that
the closing tag is omitted.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to