openhub.net
Black Duck Software, Inc.
Black Duck Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
H
HTMLDecor
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
1 day
ago. based on code collected
1 day
ago.
Apr 24, 2023 — Apr 24, 2024
Showing page 1 of 14
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Trailing COMMA (,) in object definition is syntax error in IE7 and below.
Sean Hogan
More...
about 10 years ago
iframeParser was sometimes not completing on Android 2.3. Waiting for the iframe window's onload addressed this.
Sean Hogan
More...
about 10 years ago
If capturing then use `window.stop()` where available to override resource downloading by the prescanner.
Sean Hogan
More...
about 10 years ago
Allow STAGING_DOCUMENT_IS_INERT to be `true` on IE10 although the staging document URL is same as `document.URL`.
Sean Hogan
More...
about 10 years ago
<title> of content document wasn't being merged into the view when capturing and decor document also had <title>.
Sean Hogan
More...
over 10 years ago
Update docs on supported html5shiv elements
Sean Hogan
More...
over 10 years ago
Oops. Was only overriding resolveURL() for im...@srcset, but sou...@srcset needs the same override.
Sean Hogan
More...
over 10 years ago
Add startup_timeout as a dead-man's switch.
Sean Hogan
More...
over 10 years ago
panner.options.loadFromString() makes capturing a bit more logical. Now normalize() and deneutralizeAll() are called as part of Capture.getDocument() instead of in decor.start(). This is the same as what happens for panned pages.
Sean Hogan
More...
over 10 years ago
AttrDesc class makes code branching in resolveAll() more manageable: - scr...@src must always resolve - im...@srcset and a...@ping need special resolveURL code
Sean Hogan
More...
over 10 years ago
On some pages with capturing enabled and being viewed on IE8 with an empty cache script.onreadystatechange handlers weren't being called. Wrapping enableScript() in setTimeout() resolved this issue. Not sure why.
Sean Hogan
More...
over 10 years ago
Rename a few consts / vars. attrDesc.deref is merged with attrDesc.neutralize. If `neutralize` is true then the attribute needs to be neutralized before parsing. If `neutralize` is `> 0` then the attribute stays neutralized during the normalize() call. This means that if `neutralize` is less-than-zero the attribute will be neutralized for parsing and deneutralized for normalizing.
Sean Hogan
More...
over 10 years ago
The HTMLLoader used in capturing wasn't passing `details` and hence `isNeutralized` notification
Sean Hogan
More...
over 10 years ago
Neutralize URLs by prepending the attribute *value* with "meeko-href" rather than prepending the attribute *name* with "meeko-". This allows picture polyfill to work in the normalize(doc) call as it copies `source@src` to `img@src`.
Sean Hogan
More...
over 10 years ago
Library size never decreases. Now around 11kB minified and gzipped.
Sean Hogan
More...
over 10 years ago
parseHTML returns a Future so must use resolve().
Sean Hogan
More...
over 10 years ago
Safari-4 can also exhibit IE9_SOURCE_ELEMENT_BUG
Sean Hogan
More...
over 10 years ago
<picture> might be supported soon so add to html5shiv elements.
Sean Hogan
More...
over 10 years ago
Fix for IE9 swallowing <source> elements when not within <video> or <audio>. Needed if <picture> becomes best-practice.
Sean Hogan
More...
over 10 years ago
Allow <meta charset="..." /> before boot-script when capturing
Sean Hogan
More...
over 10 years ago
some() is useful, like every(). panner.navigate() now calls location.assign() (or replace() ) if history.pushState() not available.
Sean Hogan
More...
over 10 years ago
HTML parsing performance on IE8 can be significantly improved by writing the <head> into an iframe and using element.innerHTML for the <body>. Can't hurt perf on other browsers.
Sean Hogan
More...
over 10 years ago
Undeclared variables
Sean Hogan
More...
over 10 years ago
Add test for <style> in <body> being parsed (it should end up in <head>)
Sean Hogan
More...
over 10 years ago
mergeElement() now removes @style. HTMLParser adds `style="display: none"` to <body>. This usually makes parsing a bit faster on IE8. The mergeElement() mod means this doesn't affect final view.
Sean Hogan
More...
over 10 years ago
Add `mustResolve` field to resolveAll(). Add `mustResolve` field to `details` object that is passed to HTMLLoader and HTMLParser Resolving URLs in the landing-page now runs over everything in <head>, not just elements after the self-marker
Sean Hogan
More...
over 10 years ago
decor.placeHolders is probably a bad design choice and the javadoc-panner bookmarklet highlighted this bug.
Sean Hogan
More...
over 10 years ago
Don't want to insert boot-script before html5shiv & visibility <style> when boot-script isn't in the head (as occurs in meeko-panner bookmarklet)
Sean Hogan
More...
over 10 years ago
The regex was finding the last '>' not the first.
Sean Hogan
More...
over 10 years ago
element.attributes is a live list, so removeAttribute made forEach break
Sean Hogan
More...
over 10 years ago
←
1
2
3
4
5
6
7
8
9
…
13
14
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree