On 2012/05/29 21:25:50, Dan Beam wrote:
> any reason to have both a class and ID? do you have multiple search-box's on
the
> page or plan to have more?
The ID is there because I actually reference the element in JS by ID, and the
class is there so that I can style it. I know that I can style based on the ID,
but really the style is based on the class. Right now, this is a unique element,
but I wanted to leave room for it being used in multiple places.
Dan Beam
2012/05/29 21:25:50
seems like this wrapping is taking up too many lin
seems like this wrapping is taking up too many lines, think the preferred is
<input type="text" class="search-box-input"
i18n-values="placeholder:searchBoxPlaceholder"/>
also, you don't really need the / in self-closing tags in HTML (just XHTML), but
that's another religious debate...
On 2012/05/29 21:25:50, Dan Beam wrote:
> seems like this wrapping is taking up too many lines, think the preferred is
>
> <input type="text" class="search-box-input"
> i18n-values="placeholder:searchBoxPlaceholder"/>
>
> also, you don't really need the / in self-closing tags in HTML (just XHTML),
but
> that's another religious debate...
Yea I know I don't need "/" for HTML, but if we ever wanted to migrate to XHTML,
it would be one less step. I also would just always end with "/" just so I don't
ever leave it out when I shouldn't.
Issue 10450022: Print Preview Print Destination Search Widget
(Closed)
Created 8 years, 7 months ago by Robert Toscano
Modified 6 years, 3 months ago
Reviewers: Albert Bodenhamer, dpapad, Dan Beam, Vitaly Pavlenko
Base URL: http://git.chromium.org/chromium/src.git@master
Comments: 110