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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12246</bug_id>
          
          <creation_ts>2007-01-13 03:10:29 -0800</creation_ts>
          <short_desc>FCKeditor: Hidden fields doesn&apos;t show up</short_desc>
          <delta_ts>2007-03-10 05:29:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.fckeditor.net/nightly/browsers_test.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>9915</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35231</commentid>
    <comment_count>0</comment_count>
    <who name="">webkit</who>
    <bug_when>2007-01-13 03:10:29 -0800</bug_when>
    <thetext>Hidden fields defined inside the editor, inserted with the appropriate toolbar button, are not being displayed. They are being correctly inserted in the code instead.

A icon should be shown instead, just like in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19718</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2007-03-09 14:19:10 -0800</bug_when>
    <thetext>ATM I can&apos;t figure out how the hidden field is inserted, there&apos;s no execCommand performed, and no queryCommandSupported/Enabled called.  The hidden field must be in the DOM, because it shows up when you use the Source ... toolbar button, but I can&apos;t know for sure because I can&apos;t inspect the DOM of the editable subframe (the editable subframe has a custom contextual menu that doesn&apos;t include Inspect Element).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19691</commentid>
    <comment_count>2</comment_count>
    <who name="">webkit</who>
    <bug_when>2007-03-10 03:15:37 -0800</bug_when>
    <thetext>The hidden field &quot;magic&quot; is simply done with CSS:

----

input[type=&quot;hidden&quot;]
{
	display: inline;
	width:20px;
	height:20px;
	border:1px dotted #FF0000 ;
	background-image: url(http://www.fckeditor.net/fckeditor/editor/css/behaviors/hiddenfield.gif);
	background-repeat: no-repeat;
}

input[type=&quot;hidden&quot;]:after
{
	padding-left: 20px;
	content: &quot;&quot; ;
}

----

I&apos;ve tried the above definitions with &lt;span&gt; and it worked well. So, I believe that the CSS selectors are working properly.

Probably the buggy thing here is &quot;display:inline&quot;. Maybe WebKit is just saying &quot;hidden is hidden&quot;, and doesn&apos;t do any work to possibly display those kings of elements. I really don&apos;t know, it is just a guess. If this is true, we could open    a dedicated ticket for it.

I think I&apos;ll be able to make changes in the editor to not use CSS for it. I&apos;ll work on it now. I&apos;ll come with more news soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19666</commentid>
    <comment_count>3</comment_count>
    <who name="">webkit</who>
    <bug_when>2007-03-10 05:29:00 -0800</bug_when>
    <thetext>Ok, I was able to fix it in the editor code. It doesn&apos;t anymore uses styles to display hidden fields, which are now replaced with an image during editing.

Reference:
http://dev.fckeditor.net/changeset/202</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>