<?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>16600</bug_id>
          
          <creation_ts>2012-04-02 10:33:34 +0000</creation_ts>
          <short_desc>pre is stylistic (typografic) rather than semantic. it always has been. The use-cases should be rewritten so it becomes semantic (What is semantically wrong with using code in a p instead of a pre?) In fact, personally I do not think pre has any semantic</short_desc>
          <delta_ts>2012-07-26 23:34:22 +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>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-pre-element</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>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66331</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-04-02 10:33:34 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html
Multipage: http://www.whatwg.org/C#the-pre-element
Complete: http://www.whatwg.org/c#the-pre-element

Comment:
pre is stylistic (typografic) rather than semantic. it always has been. The
use-cases should be rewritten so it becomes semantic (What is semantically
wrong with using code in a p instead of a pre?) In fact, personally I do not
think pre has any semantic value, so why keep it other than the fact it is
used so often? Simply deprecate it. Browsers can still render it so it will
remain backwards compatible?

Posted from: 88.244.70.57
User agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70683</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:18:18 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18107 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71539</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-26 23:34:22 +0000</bug_when>
    <thetext>&gt; pre is stylistic (typografic) rather than semantic. it always has been.

That is indeed what the spec says.


&gt; The use-cases should be rewritten so it becomes semantic

The use cases are what they are, we can&apos;t just change them arbitrarily. :-)


&gt; (What is semantically wrong with using code in a p instead of a pre?)

Depends what you&apos;re marking up. If you&apos;re trying to mark up ASCII art, where the formatting matters, then using a &lt;p&gt; is probably not really sensible.


&gt; In fact, personally I do not
&gt; think pre has any semantic value, so why keep it other than the fact it is
&gt; used so often?

It&apos;s needed for things like showing markup examples or code snippets, where space formatting is important. The spec itself uses it a zillion times, for example.

I don&apos;t understand the problem here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>