Commit Graph

11859 Commits

Author SHA1 Message Date
Michael Drake
67cbdf6bef Don't fail on URLs with no host. 2015-10-31 13:44:14 +00:00
Michael Drake
25cd49034c Style guide adherence. 2015-10-31 13:44:06 +00:00
Michael Drake
78067fc29a Log window.alert() messages. 2015-10-31 09:23:56 +00:00
Michael Drake
396b445599 Add failing test.
1. Add "id" attribute.
2. Remove "ID" attribute.
3. Check id value.

In NetSurf it isn't removed, in Firefox it is.
There's a case sensitivity/conversion issue somewhere.

It the test works when we add/remove with the same case.
2015-10-29 16:55:42 +00:00
Michael Drake
0fabb20cc5 Add support for Element::removeAttribute. 2015-10-29 16:51:57 +00:00
Michael Drake
218839d05a Fix title. 2015-10-29 16:50:36 +00:00
Michael Drake
9198e80c24 Remove space. 2015-10-29 14:27:21 +00:00
Michael Drake
d795f1ca2d Add support for Element::setAttribute method.
This fixes test/js/dom-html-div-element.html test case.
2015-10-29 14:13:49 +00:00
Michael Drake
6098646e72 Add binding for DIV element's align getter/setter, and test.
Currently the second part of the test fails.
2015-10-29 11:47:53 +00:00
Vincent Sanders
8ff9abf5b6 update gtk accelerators to follow other browsers usage 2015-10-29 08:13:07 +00:00
Vincent Sanders
8c04742e39 Use automatically generated unsigned long bindings on HTMLTableRowElement 2015-10-25 23:58:28 +00:00
Vincent Sanders
78daba6f3c Use automatically generated unsigned long bindings on HTMLTableCellElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
d7924a5849 add automaticaly generated property setter and getters to HTMLPreElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
3a67d34f69 Use automatically generated unsigned long bindings on HTMLLIElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
b07f4db579 Use automatically generated unsigned long bindings on HTMLInputElement 2015-10-25 23:23:25 +00:00
Daniel Silverstone
36bf691cee Add .id and .className support to Element along with a test 2015-10-25 21:47:35 +01:00
Daniel Silverstone
0423704eb1 Fix env.sh some more [ns-pull] for zsh 2015-10-25 21:27:51 +01:00
Vincent Sanders
4458b96ff2 Use automatically generated unsigned long bindings on HTMLImageElement 2015-10-25 09:17:41 +00:00
Michael Drake
1bb7d295bb Make nsurl utf8 string conversion function consistent with nsurl API. 2015-10-25 09:03:20 +00:00
Vincent Sanders
dc0729150c add automaticaly generated property setter and getters to HTMLOListElement 2015-10-24 19:39:59 +01:00
Chris Young
37c715c522 Update root certificates 2015-10-24 15:48:06 +01:00
Chris Young
ef202aeef5 Merge branch 'chris/display-idna'
This enables frontends to display international domain names in UTF-8, instead of the encoded versions.
It is disabled by default, as some frontends cannot display the full range of UTF-8 characters in their status or URL bar.
2015-10-24 15:21:47 +01:00
Chris Young
aabea8eceb Update RISC OS frontend to new API 2015-10-24 15:12:57 +01:00
Chris Young
27adf07fb7 Update gtk frontend to new API 2015-10-24 15:12:57 +01:00
Chris Young
65b510fbc3 Rework IDN URL retrieval to return an nserror 2015-10-24 15:12:57 +01:00
Chris Young
5206518a75 Add URL fragment 2015-10-24 15:12:57 +01:00
Chris Young
ac8eccd035 Enable RISC OS to display decoded IDNs in the URL bar (subject to local charset restrictions) 2015-10-24 15:12:57 +01:00
Chris Young
53141c7089 Modify the status bar link text so it shows either the ASCII encoded or IDN host, depending on the set option.
Default is to display the encoded version as this provides some security making phishing domains more obvious, and a lot of our frontends are unable to display the full range of UTF-8 characters on the status bar.
Displaying the decoded address in the URL bar requires frontends to be updated (GTK and Amiga done already), and the same caveats apply.
2015-10-24 15:12:57 +01:00
Chris Young
dd38897a26 Enable Amiga frontend to show decoded IDNs subject to local charset restrictions.
TODO: Statusbar link text
2015-10-24 15:12:57 +01:00
Chris Young
920cb0571d Check we've obtained the host string 2015-10-24 15:12:56 +01:00
Chris Young
6afda499c2 Show the IDN decoded form in the URL bar on GTK if the option is set. 2015-10-24 15:12:56 +01:00
Chris Young
5f5ca2c205 Add a function to retrieve the decoded version of IDNA URLs 2015-10-24 15:12:56 +01:00
Daniel Silverstone
c752c85618 Correct some incorrect error case handling and add tests to demonstrate fix 2015-10-21 18:55:39 +02:00
Daniel Silverstone
2f52338328 Fix up Element to return null rather than undefined, add tests 2015-10-21 18:46:43 +02:00
Daniel Silverstone
79068dd50f Support pushing NULL nodes, by pushing a JS 'null' object instead 2015-10-21 18:32:40 +02:00
Daniel Silverstone
629287c224 Revert "allow for libdom node calls which return NULL to indicate no node."
This reverts commit 37ea372a10.
2015-10-21 18:30:42 +02:00
Daniel Silverstone
0ddb60d82a Revert "The node acessors should return javacript null not an error"
This reverts commit 0645bc7570.
2015-10-21 18:30:36 +02:00
Vincent Sanders
0645bc7570 The node acessors should return javacript null not an error 2015-10-20 22:49:41 +01:00
Vincent Sanders
37ea372a10 allow for libdom node calls which return NULL to indicate no node. 2015-10-20 22:36:42 +01:00
Vincent Sanders
6d0d964cac Implement Document::documentElement binding 2015-10-18 11:06:41 +01:00
Vincent Sanders
eb17f4ab37 Implement basic browsing context name property 2015-10-18 10:53:49 +01:00
Vincent Sanders
9409bc2ad7 add automaticaly generated property setter and getters to HTMLTitleElement 2015-10-14 15:54:22 +01:00
Vincent Sanders
9666888f0c add automaticaly generated property setter and getters to HTMLTextAreaElement 2015-10-14 15:48:35 +01:00
Vincent Sanders
c7ca9ae819 add automaticaly generated property setter and getters to HTMLTableSectionElement 2015-10-14 15:39:45 +01:00
Vincent Sanders
f624e9f272 add automaticaly generated property setter and getters to HTMLTableRowElement 2015-10-14 15:36:43 +01:00
Vincent Sanders
3e6feede1f add automaticaly generated property setter and getters to HTMLTableElement 2015-10-14 15:15:42 +01:00
Vincent Sanders
0805bf2cd6 add automaticaly generated property setter and getters to HTMLTableColElement 2015-10-14 15:09:16 +01:00
Vincent Sanders
0d4105907d add automaticaly generated property setter and getters to HTMLTableCellElement 2015-10-14 14:46:31 +01:00
Vincent Sanders
47fb74ee88 add automaticaly generated property setter and getters to HTMLTableCaptionElement 2015-10-14 14:22:56 +01:00
Vincent Sanders
3bcc9922ee add automaticaly generated property setter and getters to HTMLStyleElement 2015-10-14 14:17:30 +01:00