I just updated to the latest version of Chrome (17.0.963.56) and it appears that window.document.height is no longer a valid property. Has anyone else noticed this? I can't seem to find any documentation regarding it's removal.
After filing a bug with WebKit, I was informed that document.height
isn't a standard property and WebKit was the only vendor maintaining
support for it (until now.) Both MDN and WebKit now list the
properties as deprecated and suggest using
document.body.clientHeight or document.body.clientWidth instead of
document.width or document/height.
I had the same problem, window.innerHeight works for me.
docs here
Related
Thank you in advance for reading my question.
As far as I know, document.domain setter in Chrome is supposed to be deprecated in M109
(The related link : https://developer.chrome.com/blog/immutable-document-domain/)
However, regarding links below, it seems like it's delayed to M110 or M111
(link 1 : https://chromestatus.com/feature/5428079583297536
link 2 : https://groups.google.com/a/chromium.org/g/blink-dev/c/nrLl0IxSxSI/m/FbWK4hIyAgAJ)
Does any one know since when Chrome doesn't support document.domain setter anymore?
ps. I tested document.domain setter in Chrome Canary which is version over M111, but it seemed still working.
In recent versions of Google Chrome, it is not possible to set the document.domain property. This has been the case since at least Chrome 73, which was released in March 2019.
I have researched this an according to MediaRecorder.isTypeSupported Chromium does not support audio/ogg; codecs=opus. Does anyone know if there is an alternative to use with MediaRecorder or if Chrome is planning to add this?
Thanks
I think Chrome only supports "audio/webm; codecs=opus".
From the list of supported formats here, it appears it does not.
However, there are some libraries that help you record to alternative formats, as seen here: https://stackoverflow.com/a/57837816/2441655
I am looking for APIs for accessing a camera on a device using HTML. I am aware of getUserMedia(), but that appears to only be supported by the Blink and Gecko engines. Is there anything else out there? I am specifically looking for something that WebKit/QtWebKit supports.
Updated 2015-09-23: I’ve been told be a WebKit browser engineer that WebKit doesn’t support getUserMedia—not even prefixed as navigator.webkitGetUserMedia. I’m not sure if it did at one point and the support was removed, or what.
So I think the answer as far as being able to get something working with Safari is, It's not possible.
As far as recent changes in support in other browsers, though, it seems that unprefixed navigator.getUserMedia() is now supported in Edge.
I use
display:-moz-box
Its work on firefox truly but "invalid property value" on chrome, what should i do now?
Thanks
Any CSS code that starts with a hyphen is a browser-specific feature (it also often means the feature is experimental and not yet ready for a full release).
Only the browser that uses that extension (-moz- is for Firefox) will work with that property. Other browsers may need their own prefix specified instead (eg -webkit- for Webkit-based browsers, or -ms- for IE).
You should also specify the unprefixed version of the style if it has been standardised, as the experimental prefix is likely to be removed from future browser versions once the standard version is established.
In this particular case, we are talking about the flexbox feature. There has been quite a bit of change to the specs for this over time as it has gone through the standardisation process, so some browsers may support non-standard syntax. This makes it slightly harder to give a succinct answer here, so rather than go into great detail, I'll point you to some articles that may help:
http://css-tricks.com/snippets/css/a-guide-to-flexbox/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
use display:-webkit-boxfor chrome
-moz- is a vendor prefix. Vendor prefixes are unique to the browser. They are used to apply non-standard CSS. -moz- is for Mozilla Firefox. -webkit- is for chrome.
Do any browsers support the HTML5 context menu attribute?
This has been added to Firefox 8.
See this for an example of it working https://bug617528.bugzilla.mozilla.org/attachment.cgi?id=554309
Right now, the contextmenu attribute is not supported by any browser version. According to caniuse.com it doesn't have support for any current browser versions (IE 9, Firefox 4, Safari 5, Chrome 11, Opera 11.1, or any mobile browsers - iOS, Opera, or Android). It is unknown if it will be supported in future versions.
It was discussed in April 2010 regarding adding it to Webkit. But it doesn't look like it's been added to the nightlies yet.
According to this wiki page for now there is no any popular layout engine except Firefox's Gecko that fully supports the menu element. Meanwhile, you can try some script solutions, like jQuery Context Menu Plugin.
You can use Modernizr for HTML5 feature detection.
It is working well here with Firefox 9.
Firefox 8 Aurora implements this feature. But unfortunately it doesn't seem to work for me now...
Pretty sure it's supported with a polyfill: https://github.com/medialize/jQuery-contextMenu