MantisBT - NetSurf
View Issue Details
0002070NetSurf[All Projects] Generalpublic2014-02-08 05:042014-03-22 09:24
ReporterAng Jinhang 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusconfirmedResolutionopen 
PlatformLinuxOSUbuntuOS Version13.10
Product Version3.0 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002070: Netsurf can't render placeholders in input boxes.
DescriptionI found this problem when I'm visiting Gmail. The placeholders (appear as tips in the input boxes) are missing and it might be a nuisance when I'm dealing with a lot of input boxes. I also tried with a self-written HTML file to make sure that it's not a problem with the site.

HTML code:

<!DOCTYPE html><html><body><input placeholder="Placeholder test"></input></body></html>

This code works flawlessly on Midori.
Steps To ReproduceJust open a HTML file with the code above, or use other samples online with placeholders in input boxes.
Additional InformationA placeholder is not a CSS rule.
TagsNo tags attached.
Attached Fileshtml placeholderExample.html (873) 2014-03-22 09:24
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=108&type=bug

Notes
(0000188)
Vincent Sanders   
2014-02-09 11:09   
we simply have no current support for this element

http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-placeholder
(0000290)
Achal   
2014-03-22 09:24   
LibDOM patch : https://github.com/Achal-Aggarwal/libdom/compare/placeholder.diff

Netsurf patch : https://github.com/Achal-Aggarwal/netsurf/compare/placeholder.diff

I am also attaching a test file.

Issue History
2014-02-08 05:04Ang JinhangNew Issue
2014-02-09 11:09Vincent SandersNote Added: 0000188
2014-02-09 11:09Vincent SandersStatusnew => confirmed
2014-02-09 11:09Vincent SandersCategoryGTK-specific => General
2014-03-22 09:24AchalNote Added: 0000290
2014-03-22 09:24AchalFile Added: placeholderExample.html