Commit Graph

42 Commits

Author SHA1 Message Date
Vincent Sanders
6fb654d356 rework corestring implementation
This removes special casing for some strings and importantly the
multiple huge lists of variables in code.
2017-03-19 14:27:05 +00:00
Daniel Silverstone
108cc0cebd Support fixed nsgenbind bindings 2017-02-05 11:20:08 +00:00
Michael Drake
b42d253f86 Table cell nowrap attribute is presentational hint, not UA style. 2016-10-13 12:44:27 +01:00
Michael Drake
fcaf43ddcc Add 'mailto' lwc corestring. 2016-01-08 17:16:42 +00:00
Daniel Silverstone
b42a910ed9 Ensure that those events listed in 8.1.5.2 as forwarded from body to window, don't get registered for listeners on body 2015-11-22 14:50:35 +00:00
Daniel Silverstone
a4455f79ce Add support for BODY, HEAD, html namespaces and keying of html content data 2015-08-09 11:58:42 +01:00
Michael Drake
ac636100e8 Remove include of nsurl from corestrings.h 2015-02-26 16:58:41 +00:00
Michael Drake
30909f8ed5 Move FILE_SCHEME_PREFIX to corestrings. 2015-02-26 16:14:23 +00:00
Michael Drake
3ff7557c34 Add a lwc corestring for "/". 2014-10-30 22:34:09 +00:00
Vincent Sanders
37755fb135 add incomplete scheme fetcher for javascript urls 2014-08-25 15:59:52 -07:00
Michael Drake
8bc3a80320 Add function to get bw's URL. 2014-02-08 15:00:08 +00:00
Michael Drake
96e5368d34 Use corestring. 2014-01-25 09:53:54 +00:00
Michael Drake
5787f8335e Simplify and optimise icon handling. 2014-01-24 23:13:18 +00:00
Michael Drake
14238615a4 Use corestrings for "about", "data", and "resource". 2014-01-24 20:08:41 +00:00
Michael Drake
c4e2fff5a4 Use corestrings for fetch module's lwc strings. 2014-01-24 19:25:07 +00:00
Michael Drake
72510f550b Use corestrings in box construction. 2014-01-24 18:58:12 +00:00
Daniel Silverstone
6bf609a1a4 Support image inputs 2014-01-05 16:14:17 +00:00
Daniel Silverstone
b1e6c63a2f Rewrite form_successful_controls() to use the DOM.
This stops image inputs from working temporarily, but makes
inputs inside display:none work correctly.  As such, this is
a net-win.
2014-01-05 15:51:30 +00:00
Daniel Silverstone
a5bb596eb3 Ensure that file inputs update the dom node and annotate with the unencoded filename 2014-01-04 18:02:50 +00:00
Michael Drake
fabc086d4a Rename libcss_node_data key for libdom node user data. 2013-12-13 23:02:15 +00:00
Michael Drake
b0fc9bfcb9 Optimise selection by generating node ancestor element/class/id name bloom filters for new libcss API. 2013-12-01 19:15:14 +00:00
Vincent Sanders
cc7f45898b refactor stylesheet handling to separate object from within html rendering 2013-02-24 16:08:37 +00:00
Vincent Sanders
5be20a0d6e change stylesheet fetching to be generated from the default dom events 2013-02-19 23:51:16 +00:00
Vincent Sanders
7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
John-Mark Bell
d0d3d31e97 Revert "Treat cookies from HTTP and HTTPS as identical."
Sadly, this breaks path cookies on HTTPS sites. The correct
fix is to implement RFC6265 in full (probably replacing
urldb with something less complex, too).

This reverts commit 924f8844d4.
2013-01-04 22:06:31 +00:00
John-Mark Bell
924f8844d4 Treat cookies from HTTP and HTTPS as identical. 2013-01-03 00:28:51 +00:00
John-Mark Bell
ea3f09a724 Correctly emit entities when serialising to HTML. 2012-12-30 23:37:06 +00:00
Vincent Sanders
347fdf0743 add dom event handler to document object 2012-12-17 14:55:16 +00:00
Vincent Sanders
fb5d763d75 extend corestings with event types 2012-11-28 17:19:49 +00:00
Daniel Silverstone
b23aee2f09 type=search is a new-fangled HTML5 thing which we treat as input and thus give EX width hinting. Closes #3578446 2012-11-04 17:29:26 +00:00
Michael Drake
4fccdf18f3 Move dom walker to utils/libdom.{c|h}. Add a few HTML elements to core strings. 2012-10-12 16:21:29 +01:00
Michael Drake
1b9b870921 Add "https" lwc string. 2012-10-08 19:26:35 +01:00
Michael Drake
d5e1616a45 Fix select elements. Requires latest libdom. 2012-09-19 14:42:05 +01:00
Vincent Sanders
db76dd3b1a extend completion types 2012-07-30 22:55:13 +01:00
Michael Drake
2f408f0ecb More use of interns. 2012-07-26 15:57:33 +01:00
Michael Drake
81e079e747 Use interns for string comparisons. 2012-07-26 14:49:27 +01:00
Michael Drake
26a92340e2 Compare interns instead of strings in html_forms.c 2012-07-23 12:06:43 +01:00
Michael Drake
f6f2bcbcde Interned string cleanup, phase 6 (final): Move html.c to corestring. 2012-07-22 23:28:45 +01:00
Michael Drake
5dadb1a0ec Interned string cleanup, phase 5: Move imagemap.c to corestring. 2012-07-22 20:52:34 +01:00
Michael Drake
1947019095 Interned string cleanup, phase 4: Move html_script.c to corestring. 2012-07-22 18:58:22 +01:00
Michael Drake
9de20d9a1a Interned string cleanup, phase 3: Move html_forms.c to corestring. 2012-07-22 18:01:10 +01:00
Michael Drake
2ad24f39da Interned string cleanup, phase 2: Create utils/corestrings and use it in css handler. 2012-07-22 15:48:55 +01:00