<?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>10473</bug_id>
          
          <creation_ts>2010-08-27 16:02:15 +0000</creation_ts>
          <short_desc>No line number for CSS tests (MEASURES and STYLE_SHEETS_SUPPORT)</short_desc>
          <delta_ts>2010-08-30 12:20:11 +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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38016</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-08-27 16:02:15 +0000</bug_when>
    <thetext>CSS tests use regular expressions matchers that do return the start position of each match. It should be relatively straightforward to compute the line/column position from there, to be able to return more precise messages for MEASURES and STYLE_SHEETS_USE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38194</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-08-30 12:16:23 +0000</bug_when>
    <thetext>Short correction: the bug applies to MEASURES and STYLE_SHEETS_SUPPORT tests (and not STYLE_SHEETS_USE)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38195</commentid>
    <comment_count>2</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-08-30 12:20:11 +0000</bug_when>
    <thetext>The character position gets converted to a line position in AbstractCSSTestImplementation and added to the error message in MeasuresTest and StyleSheetsSupportTest.

Column position not set for the time being. It could be done easily in the future though.


Related test cases in the test suite:
MEASURES 1
MEASURES 2
MEASURES 3
MEASURES 4
MEASURES 5
MEASURES 6
MEASURES 7
STYLE_SHEETS_SUPPORT 1
STYLE_SHEETS_SUPPORT 2
STYLE_SHEETS_SUPPORT 3
STYLE_SHEETS_SUPPORT 5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>