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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7208</bug_id>
          
          <creation_ts>2009-08-03 15:51:11 +0000</creation_ts>
          <short_desc>Inline CSS: incorrect line numbers returned by the XML parser</short_desc>
          <delta_ts>2010-04-30 16:14:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="Abel Rionda">abel.rionda</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26206</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-08-03 15:51:11 +0000</bug_when>
    <thetext>CSS errors and warnings that are triggered from inline CSS styles (i.e. defined in style attributes) contain the line of the style within the containing XHTML page.

The line is returned by the XML parser and set in CssResourceExtractor.extractInlineCSS.

The line number is usually more than what it should be. See for instance the warning returned in the moki document of the MEASURES 3 test in the test suite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35330</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-04-30 16:14:46 +0000</bug_when>
    <thetext>The preservation of line numbers in the DOM tree for Bug 9583 fixes this bug as well. Line numbers are correctly returned. I removed column numbers (which were always 0)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>