-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathToDo
83 lines (69 loc) · 3.02 KB
/
ToDo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
=================
SimpleWebKit ToDo
=================
The code probably needs a lot of reformatting to fit in the GNUstep coding style. ;-)
-----------
12 Aug 2010
-----------
Completion indicator
HTML
Loading 99%
Parser 99% (HTML -> DOM Tree)
Evaluator 90% (DOM Tree -> NSAttributedString)
EcmaScript
Loading 100%
Parser 90% not well tested for completeness and robustness
Evaluator 50%
Objects 0%
DOM Integration 10%
CSS
Loading 100%
Parser 99%
Evaluator 90% handles shortcuts
DOM Integration 50% does not correctly "cascade" and apply specificity and !important
WebView, WebFrame, ...
Basics 100%
Advanced 90% (Scrolling, Forms, Frames)
Editing 0%
High Prio:
1. <table> elements should really work
HTML parsing:
- NSXMLParser:
- should we accept entities in quoted parameters or not? Is this standard or not? ANSWER: YES!
like this: <input type="submit" value=" Go "> from http://pda.leo.org/
- fix error handling if it is known that there is no more data coming from the source
- <![ CDATA[ ...] ] > (i.e. embedded spaces and newlines) appears to be legal or in use
- entites should simply end at the first non-alphanumeric character and ignore if it is a ;
HTML Evaluator:
- link color definition by <body> and if link was visited recently (history)
- handle different <hr> styles
- special <input> styles should show a small slider for e.g. <input type="range" min="0" value="100" max="100">
- parse !DOCTYPE
View:
- <iframe> should display a WebFrameView as NSTextAttachmentCell
- <select> should display a NSTableView as NSTextAttachmentCell (i.e. wrap a View's lock/drawRect/unlock into a Cell)
EcmaScript:
- finalize parser, evaluator and prototype objects
- add execution context ("this", global variables, document/event/images/anchors etc.)
- add prototype objects Array, Number, Object, String, etc. with their methods
- connect to the DOMHTMLTree (via -[WebView webscriptObject])
- handle more triggers like <... onmouse="..."> - this needs to define and trap cursorRects
CSS:
- correctly find matching element(s) in DOMCSS tree for a DOMHTML node (i.e. apply priorities and specificity rules)
- make parser 100% robust (i.e. handle spaces, escape sequences, correctly ignore syntactically bad rules)
General:
- (DOMText *) splitText: what is the semantics?
- innerHTML and outerHTML do not really return valid HTML (needs generating entities)
- add getters&setters for HTMLEntities
- history page cache not complete (should cache WebFrame and WebFrameViews and swap them as subviews within the WebView or parent WebFrame)
mySTEP's extension requests:
- NSURLConnection needs to handle:
- cookies
- cache
- https (using NSSocket(Input|Output)Stream)
- handle "feed:" scheme (load the feed XML and translate into an ECMAScript/HTML result when done)
- NSTextTable is not rendered
- NSTextList is not rendered - NOTE: this is not to be rendered at all (!) just a hint attribute...
GNUstep extension requests:
- NSTextTable etc. is missing
- NSTextList is missing