Commit Graph

14 Commits

Author SHA1 Message Date
sigmund@google.com dfef6d6726 Fix how document fragments are added on NodeList operations. The DocumentFragment node should be gone, and its children should be added in place.
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//224733003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34742 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:19:00 +00:00
jmesserly@google.com b9fbc30785 [html5lib] api updates: localName
R=sigmund@google.com

Review URL: https://codereview.chromium.org//178303009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33004 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 04:07:47 +00:00
jmesserly@google.com d48a43957f [html5lib] triple slash comment style
Also improves ./tools/line_doc_comments.dart to warn about lines >= 80 chars, to make it easier to catch these.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//178843003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32997 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 00:36:13 +00:00
sigmund@google.com 4bad819321 small fix in html5lib warning message
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//174633003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32945 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 23:36:57 +00:00
jmesserly@google.com d10d506d6f fix accidental breaking changes in html5lib, deprecate instead
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//165353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32680 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:50:46 +00:00
jmesserly@google.com 1a4a399ea5 fix imports link rel=stylesheet
fixes https://code.google.com/p/dart/issues/detail?id=16648

also:
* adds a few DOM APIs to html5lib that it was missing
* removes a broken test from html5lib
* fixes polymer's dependency on analyzer

R=sigmund@google.com

Review URL: https://codereview.chromium.org//162093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32679 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:22:48 +00:00
jmesserly@google.com 7d71bc988d introduce web_components pkg to replace shadow_dom, html_import, custom_element. This new package is 100% compatible with the polyfills used by http://www.polymer-project.org/
Deletes:
  pkg/shadow_dom
  pkg/custom_element (except web_ui stuff)
  pkg/html_import

Adds:
  pkg/web_components, with README.md and build instructions

Changes:
  pkg/html5lib -- deprecate queryAll/query in favor of *Selector
  pkg/polymer -- test fixes & a few small changes to work with new polyfills, mostly in build
  tests/html/custom -- can't load the CE polyfill at runtime, must now be injected statically via an HTML page, similar to the style @blois used for some custom element tests.

R=blois@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//158083002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32533 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 01:15:05 +00:00
kevmoo@google.com 030a0ac329 pkg/third_party/html5lib: lots of cleanup
make a lot of things constants
updated pub dependencies
unused imports

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//157983005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32528 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 23:52:45 +00:00
jmesserly@google.com 873ea4fb9d fix script tags -- remove special case handling for polymer-element
also enforce one-dart-script-per-document rule
also fixes bug about inlining all content, not just polymer-element

R=sigmund@google.com

Review URL: https://codereview.chromium.org//78663004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30486 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 22:13:52 +00:00
lrn@google.com e3713a08d4 Make List.shuffle take an optional Random object to use.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//25931003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28305 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:07:30 +00:00
lrn@google.com 55a8a72ca6 Add List.shuffle().
Will add tests too.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//24740003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28206 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:09:01 +00:00
floitsch@google.com e95105d602 Remove dart:utf in third_party.
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23493006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26796 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:40:46 +00:00
jmesserly@google.com 29397a566d html5lib -- workaround dart2js checked issues
Review URL: https://codereview.chromium.org//23221002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26161 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:09:44 +00:00
jmesserly@google.com d1f780df0b move html5lib code into dart svn repo
also gets the tests running

Changes to scripts:
* pkg/pkg.gyp: add 'third_party' to list of folders to search
* tools/publish_pkg.py: update copyright year
* tools/publish_all_pkgs.py: also include pkg/third_party

Changes to html5lib:
* pubspec.yaml -- removed versions
* README.md -- removed some historical notes
* added html5lib.status
* test/browser -- rename browser_tests to browser_test so test framework finds it
* test/parser_test.dart, test/parser_feature_test.dart -- moved dart:io test into parser_test so parser_feature_test can work in browser
* test/support.dart -- now finds the data folder relative to entry point script
* test/support.dart -- rename "pathos" import to "path"

Not changed:
* ./test/run.sh still works for testing, in addition to ./tools/test.dart

R=dgrove@google.com, ricow@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//22375011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26152 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:59:46 +00:00