<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>226168</bug_id>
          
          <creation_ts>2021-05-24 01:27:08 -0700</creation_ts>
          <short_desc>WebKit renders XHTML files using HTML parser</short_desc>
          <delta_ts>2021-05-24 15:00:57 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>XML</component>
          <version>Safari 14</version>
          <rep_platform>All</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John A. Bilicki III">jab_creations</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1763056</commentid>
    <comment_count>0</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-05-24 01:27:08 -0700</bug_when>
    <thetext>I encountered and reported a bug earlier and created an XHTML file as a test case:
https://bugs.webkit.org/show_bug.cgi?id=226148

HTML parsers will return fully uppercase strings when referencing nodeName.
XML parsers will return fully properly cased strings when referencing nodeName (e.g. table for table, Table for Table).

XHTML files should be rendered using the XML parser, not the HTML parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763263</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-05-24 15:00:57 -0700</bug_when>
    <thetext>I think the implied steps to reproduce are:
1. Open https://bugs.webkit.org/attachment.cgi?id=429442
2. Press a key
3. Observe an upper case tag name instead of lower case.

I cannot reproduce this in Safari, and also I&apos;m pretty certain that WebKit uses XML parser for application/xhtml+xml.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>