<?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>19832</bug_id>
          
          <creation_ts>2012-11-02 16:36:32 +0000</creation_ts>
          <short_desc>&quot;mark { background: yellow; color: black; } /* this color is just a suggestion and can be changed based on implementation feedback */&quot; - remove the comment based on https://twitter.com/zcorpan/status/264305739550576640</short_desc>
          <delta_ts>2012-11-06 19:11:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#phrasing-content-1</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77759</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-11-02 16:36:32 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
Multipage: http://www.whatwg.org/C#phrasing-content-1
Complete: http://www.whatwg.org/c#phrasing-content-1

Comment:
&quot;mark { background: yellow; color: black; } /* this color is just a suggestion
and can be changed based on implementation feedback */&quot; - remove the comment
based on https://twitter.com/zcorpan/status/264305739550576640

Posted from: 91.217.168.220
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4; U; en) Presto/2.10.289 Version/12.02</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77760</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-11-02 16:38:24 +0000</bug_when>
    <thetext>quoting:
[[
@zcorpan
The default style for &lt;mark&gt; is mark { background: yellow; color: black; } - should this be changed to something else? #whatwg

@theophani 
@zcorpan @WHATWG No.

@turmfalkenruf 
@zcorpan No, I think it&apos;s exactly right. What, did you want to add blinking? ;-)

@AurelioDeRosa 
@zcorpan I don&apos;t see a reason to change that style.

@divya 
@zcorpan STOP BIKESHEDDING!
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77779</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-02 21:37:52 +0000</bug_when>
    <thetext>_Implementation_ feedback. :-)

Do people use it? If there are pages I could look at that use it and browsers that support it, that would be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77782</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-11-02 22:31:19 +0000</bug_when>
    <thetext>http://fr.ning.com/ has &lt;mark&gt; for all text basically, presumably a misguided SEO thing.

http://www.stumbleupon.com/
http://www.bt.dk/
http://www.womansday.com/
use &lt;mark&gt; but override the style.

That&apos;s basically what I could find from http://www.paciellogroup.com/blog/2012/04/html5-accessibility-chops-data-for-the-masses/ . web200904 has no instances of &lt;mark&gt;.

Opera/Firefox/Chrome/Safari appear to have implemented the spec&apos;s styling already and I have not seen any feedback about it from what I recall. I don&apos;t know about IE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77788</commentid>
    <comment_count>4</comment_count>
    <who name="Kang-Hao (Kenny) Lu">kennyluck</who>
    <bug_when>2012-11-03 13:48:55 +0000</bug_when>
    <thetext>I wonder why there&apos;s &apos;color: black&apos; though. An author would always need write an redundant &apos;color&apos; declaration when he/she wants to override the style, instead of relying on &apos;color&apos; inheritance.

What&apos;s the benefit of such a declaration in the UA?

Ditto for dialog { color: black; }.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77911</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-05 20:15:06 +0000</bug_when>
    <thetext>You have to always set background and colour together otherwise you can make text invisible (e.g. if the page is yellow-on-black, and your &lt;mark&gt; style just sets the background to yellow, the text is now yellow-on-yellow).


Based on the notes above, I think the comment still applies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77912</commentid>
    <comment_count>6</comment_count>
    <who name="Kang-Hao (Kenny) Lu">kennyluck</who>
    <bug_when>2012-11-05 20:29:24 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; You have to always set background and colour together otherwise you can make
&gt; text invisible (e.g. if the page is yellow-on-black, and your &lt;mark&gt; style
&gt; just sets the background to yellow, the text is now yellow-on-yellow).

&quot;always&quot; is just not true. Suppose I have dark gray on white and I am fine seeing dark gray on yellow, why do I have to bother to do &apos;mark { color: &lt;dark gray&gt;;&apos;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77969</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-06 19:11:37 +0000</bug_when>
    <thetext>Browsers have to set the background because authors and users might be setting the foreground, and they can&apos;t control that. The problem isn&apos;t people who write pages that are dark gray on white, the problem is people who write pages that are yellow on black.

BTW, as a page author you&apos;re better off always setting a background color and color together too. After all, you never know when the user will have set one or the other in their user style sheet.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>