<?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>10474</bug_id>
          
          <creation_ts>2010-08-27 16:28:09 +0000</creation_ts>
          <short_desc>Duplicate inline CSS code is checked only once</short_desc>
          <delta_ts>2010-08-30 12:21:41 +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="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38017</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-08-27 16:28:09 +0000</bug_when>
    <thetext>If the same CSS content appears more than once in a style attribute, the mobileOK Checker only checks the validity of the last occurrence.

An error should be returned for each and every occurrence of a problem

Example:
 &lt;div style=&quot;unknown:medium;&quot;&gt;Occurrence 1&lt;/div&gt;
 &lt;div style=&quot;unknown:medium;&quot;&gt;Occurrence 2&lt;/div&gt;
 &lt;div style=&quot;unknown:medium;&quot;&gt;Occurrence 3&lt;/div&gt;

This behavior is due to the use of a map in CssResourceExtractor to extract inline CSS content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38196</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-08-30 12:21:41 +0000</bug_when>
    <thetext>Map replaced with a simple list in CssResourceExtractor to make sure that errors for embedded and inline CSS content get reported each time.

Related test case in the test suite:
STYLE_SHEETS_USE 17</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>